"refactor(controller): 统一RPC方法参数类型为uint16/uint32,修正端口赋值逻辑"
This commit is contained in:
@@ -24,9 +24,9 @@ var Maincontroller = NewController() //注入service
|
||||
type Controller struct {
|
||||
Port uint16
|
||||
RPCClient struct {
|
||||
Kick func(int32) error
|
||||
Kick func(uint32) error
|
||||
|
||||
RegisterLogic func(int32) error
|
||||
RegisterLogic func(uint16) error
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user