Documentation ¶
Index ¶
- func NewConsulRegister(address string, opts ...Option) (registry.Registry, error)
- func NewConsulRegisterWithConfig(config *api.Config, opts ...Option) (*consulRegistry, error)
- func NewConsulResolver(address string) (discovery.Resolver, error)
- func NewConsulResolverWithConfig(config *api.Config) (discovery.Resolver, error)
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConsulRegister ¶
NewConsulRegister create a new registry using consul.
func NewConsulRegisterWithConfig ¶
NewConsulRegisterWithConfig create a new registry using consul, with a custom config.
func NewConsulResolver ¶
NewConsulResolver create a service resolver using consul.
Types ¶
Click to show internal directories.
Click to hide internal directories.