Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry interface { Register(id string, name string, port int, tags ...string) error DeRegister(string) error }
Registry interface for extend
func NewConsulRegistry ¶
NewConsulRegistry returns a registryClient interface for given consul address
func NewRegistry ¶
NewRegistry returns Registry via provider, e.g. ConsulRegistry
Click to show internal directories.
Click to hide internal directories.