https://github.com/toqueteos/ts3
TeamSpeak 3 Server Query Library in Go.
https://github.com/toqueteos/ts3
client go teamspeak3
Last synced: 10 months ago
JSON representation
TeamSpeak 3 Server Query Library in Go.
- Host: GitHub
- URL: https://github.com/toqueteos/ts3
- Owner: toqueteos
- License: mit
- Created: 2012-11-04T18:26:51.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2021-02-05T16:01:32.000Z (over 5 years ago)
- Last Synced: 2024-06-19T04:23:04.383Z (about 2 years ago)
- Topics: client, go, teamspeak3
- Language: Go
- Homepage: https://pkg.go.dev/github.com/toqueteos/ts3
- Size: 26.4 KB
- Stars: 13
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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`