etcd

package
v0.0.0-...-82b0641 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package etcd provides an etcd service registry

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultAddr    = "127.0.0.1:2379"
	DefaultTimeout = 5 * time.Second
)

Functions

func Auth

func Auth(username, password string) registry.Option

Auth allows you to specify username/password

func NewRegistry

func NewRegistry(opts ...registry.Option) (registry.Registry, error)

func Prefix

func Prefix(prefix string) registry.Option

Types

This section is empty.

Jump to

Keyboard shortcuts

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