mirror of
https://github.com/duanhf2012/origin.git
synced 2026-05-21 00:37:31 +08:00
新增TcpGateWay服务,支持通过配置进行路由转发
This commit is contained in:
8
sysservice/tcpgateway/LoadBalance.go
Normal file
8
sysservice/tcpgateway/LoadBalance.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package tcpgateway
|
||||
|
||||
type LoadBalance struct {
|
||||
}
|
||||
|
||||
func (slf *LoadBalance) SelectNode(serviceName string) int {
|
||||
return 1
|
||||
}
|
||||
Reference in New Issue
Block a user