This commit is contained in:
@@ -29,21 +29,6 @@ func init() {
|
||||
|
||||
func main() {
|
||||
|
||||
// t := service.NewServerService().GetFileList()
|
||||
// fmt.Println(t)
|
||||
// // 打印结果
|
||||
// fmt.Println("IP 定位结果:")
|
||||
// fmt.Printf("IP 地址: %s\n", result.IP)
|
||||
// fmt.Printf("IP 版本: %d\n", result.IPVersion)
|
||||
// fmt.Printf("国家: %s (%s)\n", result.CountryName, result.CountryCode2)
|
||||
// fmt.Printf("服务商: %s\n", result.ISP)
|
||||
// fmt.Printf("响应状态: %s (%s)\n", result.ResponseMessage, result.ResponseCode)
|
||||
// ip := "103.236.78.60"
|
||||
// sshPort := "50799"
|
||||
// user := "root"
|
||||
// password := "e5yl3W5TFRkY"
|
||||
// scriptPort := "8080"
|
||||
|
||||
// err := service.RemoteExecuteScript(ip, sshPort, user, password, scriptPort)
|
||||
// if err != nil {
|
||||
// log.Fatal(err)
|
||||
|
||||
@@ -132,7 +132,7 @@ func (s *InfoService) SetLogin() *model.PlayerInfo {
|
||||
|
||||
}
|
||||
|
||||
var User = csmap.New[string, uint32](
|
||||
var User = csmap.New(
|
||||
// set the number of map shards. the default value is 32.
|
||||
csmap.WithShardCount[string, uint32](32),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user