mirror of
https://github.com/duanhf2012/origin.git
synced 2026-05-22 01:27:32 +08:00
新增TcpGateWay服务,支持通过配置进行路由转发
This commit is contained in:
5
sysservice/tcpgateway/ILoadBalance.go
Normal file
5
sysservice/tcpgateway/ILoadBalance.go
Normal file
@@ -0,0 +1,5 @@
|
||||
package tcpgateway
|
||||
|
||||
type ILoadBalance interface {
|
||||
SelectNode(serviceName string) int //选择一个结点,通过服务名称
|
||||
}
|
||||
Reference in New Issue
Block a user