ts3:Go中的TeamSpeak 3服务器查询库

时间:2021-05-23 19:33:48
【文件属性】:
文件名称:ts3:Go中的TeamSpeak 3服务器查询库
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-23 19:33:48
go client teamspeak3 Go ts3 TeamSpeak 3服务器查询库 使用简单 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 ) } 通知支持 查看examples/bot_notifications.go
【文件预览】:
ts3-master
----helpers.go(2KB)
----LICENSE.txt(1KB)
----examples()
--------bot_notifications.go(1KB)
--------bot.go(1KB)
--------repl.go(440B)
----.travis.yml(82B)
----README.md(462B)
----ts3.go(5KB)
----helpers_test.go(1KB)

网友评论