etcd

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hash

func Hash(value interface{}) (uint64, error)

func NewRegistry

func NewRegistry(opts ...func(*Option)) (*etcdRegistry, error)

Types

type Option

type Option struct {
	Prefix    string
	AddrList  []string
	Timeout   time.Duration
	Secure    bool
	TLSConfig *tls.Config

	Context  context.Context
	Username string
	Password string
	TTL      time.Duration
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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