mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-13 02:30:26 +00:00
💩👌 make lint happy
This commit is contained in:
@@ -33,7 +33,7 @@ func init() {
|
||||
})
|
||||
}
|
||||
|
||||
//开启服务器的api请求
|
||||
// 开启服务器的api请求
|
||||
func start(name string) string {
|
||||
url := fmt.Sprintf("http://your.addr:23333/api/start_server/%s/?apikey=apikey", name)
|
||||
client := &http.Client{}
|
||||
@@ -54,7 +54,7 @@ func start(name string) string {
|
||||
return string(body)
|
||||
}
|
||||
|
||||
//关闭服务器的api请求
|
||||
// 关闭服务器的api请求
|
||||
func stop(name string) string {
|
||||
url := fmt.Sprintf("http://your.addr:23333/api/stop_server/%s/?apikey=apikey", name)
|
||||
client := &http.Client{}
|
||||
|
||||
Reference in New Issue
Block a user