Documentation ¶
Index ¶
- func DeregisterFromConsul(consulAddr string, srvAddr string, srvName string)
- func InitAndRegister()
- func NewConsulBuilder(address string) resolver.Builder
- func NewConsulResolver(cc *resolver.ClientConn, service string, opts resolver.BuildOption, ...) *consulResolver
- func RegisterToConsul(consulAddr string, srvAddr string, srvName string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeregisterFromConsul ¶
func InitAndRegister ¶
func InitAndRegister()
func NewConsulBuilder ¶
func NewConsulResolver ¶
func NewConsulResolver(cc *resolver.ClientConn, service string, opts resolver.BuildOption, consulClient *consulapi.Client) *consulResolver
func RegisterToConsul ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.