Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultRegistry = newConsulRegistry([]string{})
)
Functions ¶
func Deregister ¶
Types ¶
type Registry ¶
type Registry interface { Register(*Service) error Deregister(*Service) error GetService(string) (*Service, error) ListServices() ([]*Service, error) Watch() (Watcher, error) }
func NewRegistry ¶
Click to show internal directories.
Click to hide internal directories.