discover

package
v5.1.10-release+incomp... Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2020 License: LGPL-3.0 Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

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