discover

package
v3.7.0-release+incompa... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2018 License: LGPL-3.0 Imports: 5 Imported by: 18

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(etcdEndpoints []string) EndpointDiscover

GetEndpointDiscover 获取endpointsdiscover

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL