Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultRegistry = NewRegistry()
)
Functions ¶
Types ¶
type Option ¶
type Option func(*Options)
func Checks ¶
func Checks(checks ...*consul.AgentServiceCheck) Option
specify consul Agent check args
type Options ¶
type Options struct { //registry options Addrs []string Timeout time.Duration //consul agent check options Checks consul.AgentServiceChecks }
Click to show internal directories.
Click to hide internal directories.