Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEnvironment ¶
func NewEnvironment(l log.Logger, u xviper.Unmarshaler, options ...service.Option) (service.Environment, error)
Types ¶
type Options ¶
type Options struct { VnodeCount int `json:"vnodeCount,omitempty"` DisableFilter bool `json:"disableFilter"` DefaultScheme string `json:"defaultScheme"` Fixed []string `json:"fixed,omitempty"` Zookeeper *zk.Options `json:"zookeeper,omitempty"` Consul *consul.Options `json:"consul,omitempty"` }
Options contains the superset of all necessary options for initializing service discovery.
Click to show internal directories.
Click to hide internal directories.