etcdv3

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2020 License: Apache-2.0 Imports: 20 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddressList

type AddressList struct {
	// contains filtered or unexported fields
}

AddressList ...

func (*AddressList) List

func (al *AddressList) List() []resolver.Address

List ...

type Config

type Config struct {
	*etcdv3.Config
	ReadTimeout time.Duration
	ConfigKey   string
	Prefix      string
	// contains filtered or unexported fields
}

Config ...

func DefaultConfig

func DefaultConfig() *Config

DefaultConfig ...

func RawConfig

func RawConfig(key string) *Config

RawConfig ...

func StdConfig

func StdConfig(name string) *Config

StdConfig ...

func (Config) BuildRegistry

func (config Config) BuildRegistry() registry.Registry

BuildRegistry ...

func (Config) BuildResolver

func (config Config) BuildResolver() *etcdResolver

BuildResolver ...

Jump to

Keyboard shortcuts

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