Skip to content

Commit

Permalink
Remote support
Browse files Browse the repository at this point in the history
  • Loading branch information
Tnze committed Jan 19, 2020
1 parent 273a274 commit 2862385
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 7 deletions.
4 changes: 2 additions & 2 deletions app.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"runtime/debug"

"github.com/Tnze/CoolQ-Golang-SDK/cqp"
"github.com/Tnze/CoolQ-Golang-SDK/v2/cqp"
"github.com/miaoscraft/SiS/customize"
"github.com/miaoscraft/SiS/data"
"github.com/miaoscraft/SiS/log"
Expand All @@ -17,7 +17,7 @@ import (
// cqp: 版本: 1.2.2:0
// cqp: 作者: Tnze
// cqp: 简介: Minecraft服务器综合管理器
func main() { /*空*/ }
func main() { cqp.Main() }

func init() {
cqp.AppID = "cn.miaoscraft.sis"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.12

require (
github.com/BurntSushi/toml v0.3.1
github.com/Tnze/CoolQ-Golang-SDK v1.1.0
github.com/Tnze/CoolQ-Golang-SDK/v2 v2.1.0-pre1.0.20200119002847-0368b6d77a7b
github.com/Tnze/go-mc v1.14.5-0.20200116045701-4370b6c3cd47
github.com/fatih/pool v3.0.0+incompatible
github.com/go-sql-driver/mysql v1.4.1
Expand Down
28 changes: 26 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/Tnze/CoolQ-Golang-SDK v1.1.0 h1:j4OyH5dn/kGsqaD+94NJ5pSCn7Xfl1PXNyGSbXxIXGw=
github.com/Tnze/CoolQ-Golang-SDK v1.1.0/go.mod h1:e0wTTiIAcKLmr4JHTUHOo0dLzctmhNE1m3HhNHHGQLA=
github.com/Tnze/CoolQ-Golang-SDK/v2 v2.1.0-pre1 h1:RuL2vTHLNh1nVIpqvw2Xpu3tp9I19I3QnZrCHm7jswc=
github.com/Tnze/CoolQ-Golang-SDK/v2 v2.1.0-pre1/go.mod h1:F+Yt41A61nZQYqpWCsjYQaZtV6v0Qwdb/CiG6irVCeE=
github.com/Tnze/CoolQ-Golang-SDK/v2 v2.1.0-pre1.0.20200119001824-fe6c08ccd9dc h1:MLt4D4AUQMO/l8cdsdfgMxUp5peZMxWVBfuT8y/3/Dg=
github.com/Tnze/CoolQ-Golang-SDK/v2 v2.1.0-pre1.0.20200119001824-fe6c08ccd9dc/go.mod h1:F+Yt41A61nZQYqpWCsjYQaZtV6v0Qwdb/CiG6irVCeE=
github.com/Tnze/CoolQ-Golang-SDK/v2 v2.1.0-pre1.0.20200119002847-0368b6d77a7b h1:2ASrRgjpfUfVKZFkXlNIyXf09nPuWn86lwUcuUQ9At0=
github.com/Tnze/CoolQ-Golang-SDK/v2 v2.1.0-pre1.0.20200119002847-0368b6d77a7b/go.mod h1:F+Yt41A61nZQYqpWCsjYQaZtV6v0Qwdb/CiG6irVCeE=
github.com/Tnze/go-mc v1.14.5-0.20200116045701-4370b6c3cd47 h1:aRALhhipxce+3LJGmp4mpB0xVmvH8mgEKz0jtLLBHTw=
github.com/Tnze/go-mc v1.14.5-0.20200116045701-4370b6c3cd47/go.mod h1:ZQpDcppzIn7X37rsk39CAL4C7nkmu4sxWvDpcy9pncc=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/fatih/pool v3.0.0+incompatible h1:3xXzI/t5o6aEU/R+xe7ed44CTw41lV3oB0gB5pNXS5U=
github.com/fatih/pool v3.0.0+incompatible/go.mod h1:v+kkrv3f2oJ1P9NHaKArMYdTVtNCwfR0DlXwnhA2L4k=
github.com/go-sql-driver/mysql v1.4.1 h1:g24URVg0OFbNUTx9qqY1IRZ9D9z3iPyi5zKhQZpNwpA=
Expand All @@ -12,12 +18,30 @@ github.com/golang/protobuf v1.3.1 h1:YF8+flBXS5eO826T4nzqPrxfhQThhXl0YzfuUPu4SBg
github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY=
github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/gorilla/websocket v1.4.1 h1:q7AeDBpnBk8AogcD4DSag/Ukw/KV+YhzLj2bP5HvKCM=
github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGiHgQ4OO8tzTaLawm8vnODuwDk=
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
github.com/mattn/go-colorable v0.1.4 h1:snbPLB8fVfU9iwbbo30TPtbLRzwWu6aJS6Xh4eaaviA=
github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
github.com/mattn/go-isatty v0.0.8 h1:HLtExJ+uU2HOZ+wI0Tt5DtUDrx8yhUqDcp7fYERX4CE=
github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
github.com/mattn/go-sqlite3 v1.13.0 h1:LnJI81JidiW9r7pS/hXe6cFeO5EXNq7KbfvoJLRI69c=
github.com/mattn/go-sqlite3 v1.13.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/sirupsen/logrus v1.4.2 h1:SPIRibHv4MatM3XXNO2BJeFLZwZ2LvZgfQ5+UNI2im4=
github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/net v0.0.0-20190603091049-60506f45cf65 h1:+rhAzEzT3f4JtomfC371qB+0Ola2caSKcY69NUBZrRQ=
golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190422165155-953cdadca894 h1:Cz4ceDQGXuKRnVBDTS23GTn/pU5OE2C0WrNTOYK1Uuc=
golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
Expand Down
2 changes: 1 addition & 1 deletion log/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package log

import (
"fmt"
"github.com/Tnze/CoolQ-Golang-SDK/cqp"
"github.com/Tnze/CoolQ-Golang-SDK/v2/cqp"
)

type Logger struct {
Expand Down
2 changes: 1 addition & 1 deletion ping/ping.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"text/template"
"time"

"github.com/Tnze/CoolQ-Golang-SDK/cqp/util"
"github.com/Tnze/CoolQ-Golang-SDK/v2/cqp/util"
"github.com/Tnze/go-mc/bot"
"github.com/Tnze/go-mc/chat"
"github.com/google/uuid"
Expand Down

0 comments on commit 2862385

Please # to comment.