新增TcpGateWay服务,支持通过配置进行路由转发

This commit is contained in:
boyce
2020-10-07 16:14:19 +08:00
parent 40ff2f7932
commit 0c55961c44
17 changed files with 1203 additions and 58 deletions

View File

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