servicecfg

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

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