Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointDiscover ¶
type EndpointDiscover interface { AddProject(name string, proxy proxy.Proxy) Remove(name string) Stop() }
EndpointDiscover 后端服务自动发现
func CreateEndpointDiscover ¶
func CreateEndpointDiscover(etcdEndpoints []string) (EndpointDiscover, error)
CreateEndpointDiscover create endpoint discover
func GetEndpointDiscover ¶
func GetEndpointDiscover() EndpointDiscover
GetEndpointDiscover get endpoints discover
Click to show internal directories.
Click to hide internal directories.