etcdv3

package
v3.2.24 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2023 License: Apache-2.0 Imports: 20 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	*etcdv3.Config
	ReadTimeout time.Duration
	// ConfigKey   string
	Prefix     string
	ServiceTTL time.Duration
}

Config ...

func New

func New() *Config

New ...

func (*Config) Build

func (config *Config) Build() (registry.Registry, error)

Build ...

func (*Config) MustBuild

func (config *Config) MustBuild() registry.Registry

MustBuild ...

func (*Config) SetPrefix added in v3.2.24

func (config *Config) SetPrefix(prefix string) *Config

SetPrefix ...

Jump to

Keyboard shortcuts

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