feat 踢人功能

This commit is contained in:
2026-01-08 22:58:00 +08:00
parent 1c9cddf93d
commit 5a02929afd
3 changed files with 7 additions and 5 deletions

View File

@@ -9,13 +9,14 @@ log:
maxAge: 7
client:
count: 99
count: 100
usn: [ 1,10000000 ]
http:
address: "http://127.0.0.1"
port: 8503
address: "https://www.hlsq.asia/api"
port: 0
websocket:
# address: "ws://47.108.184.184/ws/"
# address: "wss://www.hlsq.asia/ws/"
# address: "wss://www.hlsq.asia/ws/"
# port: 0
address: "ws://127.0.0.1"
port: 8501

2
go.mod
View File

@@ -3,7 +3,7 @@ module git.hlsq.asia/mmorpg/service-robot
go 1.23.1
require (
git.hlsq.asia/mmorpg/service-common v0.0.0-20260107061047-e02e56781e78
git.hlsq.asia/mmorpg/service-common v0.0.0-20260108144540-69e82ec0fe77
github.com/gorilla/websocket v1.5.3
github.com/judwhite/go-svc v1.2.1
google.golang.org/protobuf v1.36.9

1
go.sum
View File

@@ -1,5 +1,6 @@
git.hlsq.asia/mmorpg/service-common v0.0.0-20260107061047-e02e56781e78 h1:4CP8w5jHDOdN7hym8YrtioxNDd7PS2WcZDrO6dtY344=
git.hlsq.asia/mmorpg/service-common v0.0.0-20260107061047-e02e56781e78/go.mod h1:xv6m1I2jUA6mudKVznygpnzMoshBQarthHD1QnkW4qc=
git.hlsq.asia/mmorpg/service-common v0.0.0-20260108144540-69e82ec0fe77/go.mod h1:xv6m1I2jUA6mudKVznygpnzMoshBQarthHD1QnkW4qc=
github.com/BurntSushi/toml v1.2.0 h1:Rt8g24XnyGTyglgET/PRUNlrUeu9F5L+7FilkXfZgs0=
github.com/BurntSushi/toml v1.2.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
github.com/bwmarrin/snowflake v0.3.0 h1:xm67bEhkKh6ij1790JB83OujPR5CzNe8QuQqAgISZN0=