Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/toqueteos/ts3

TeamSpeak 3 Server Query Library in Go.
https://github.com/toqueteos/ts3

client go teamspeak3

Last synced: 4 days ago
JSON representation

TeamSpeak 3 Server Query Library in Go.

Awesome Lists containing this project

README

        

# ts3

TeamSpeak 3 Server Query Library

## Simple usage

```go
package main

import (
"fmt"
"time"

"github.com/toqueteos/ts3"
)

func main() {
conn := ts3.Dial(":10011")
defer conn.Close()

bot(conn)
}

func bot(conn *ts3.Conn) {
defer conn.Cmd("quit")

s := "version"
r := conn.Cmd(s)
fmt.Printf("> %s\n%s", s, r)
}
```

# Notifications support

Check `examples/bot_notifications.go`