rainbond: github.com/goodrain/rainbond/api/discover Index | Files

package discover

import "github.com/goodrain/rainbond/api/discover"

Index

Package Files

discover.go

type EndpointDiscover Uses

type EndpointDiscover interface {
    AddProject(name string, proxy proxy.Proxy)
    Remove(name string)
    Stop()
}

EndpointDiscover 后端服务自动发现

func CreateEndpointDiscover Uses

func CreateEndpointDiscover(etcdEndpoints []string) (EndpointDiscover, error)

CreateEndpointDiscover create endpoint discover

func GetEndpointDiscover Uses

func GetEndpointDiscover(etcdEndpoints []string) EndpointDiscover

GetEndpointDiscover 获取endpointsdiscover

Package discover imports 5 packages (graph) and is imported by 3 packages. Updated 2019-02-25. Refresh now. Tools for package owners.