Files
origin/sysservice/tcpgateway/ILoadBalance.go

6 lines
130 B
Go

package tcpgateway
type ILoadBalance interface {
SelectNode(serviceName string) int //选择一个结点,通过服务名称
}