etcd

package module
v1.6.18 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultTimeout = 15 * time.Second
	DefaultPrefix  = "/vine.etcd.broker/"
)

Functions

func Auth

func Auth(username, password string) broker.Option

func NewBroker

func NewBroker(opts ...broker.Option) broker.Broker

NewBroker returns a new broker implemented using the Etcd

func Prefix

func Prefix(prefix string) broker.Option

func Timeout

func Timeout(d time.Duration) broker.Option

Types

This section is empty.

Jump to

Keyboard shortcuts

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