新增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,8 @@
package tcpgateway
type LoadBalance struct {
}
func (slf *LoadBalance) SelectNode(serviceName string) int {
return 1
}