优化网关服务

This commit is contained in:
boyce
2020-11-05 17:32:30 +08:00
parent 12cd732a4a
commit 2455054b0f
6 changed files with 15 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
package tcpgateway
type ILoadBalance interface {
SelectNode(serviceName string) int //选择一个结点,通过服务名称
SelectNode(serviceName string,clientId uint64,eventType string,msgType uint16,msg []byte) int //选择一个结点,通过服务名称
}