servicecfg

package
v1.11.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2021 License: Apache-2.0 Imports: 9 Imported by: 1

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL