etcd

package
v0.0.0-...-458a3ee Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Service

func Service(ctx context.Context) error

func ServiceWithWaitGroup

func ServiceWithWaitGroup(ctx context.Context, waitGroup *sync.WaitGroup) error

Types

type Etcd

type Etcd struct {
	Context                context.Context
	ClientEndpoints        string
	ClusterClientEndpoints string
	EtcdClient             *clientv3.Client
	PeerEndpoints          string
	WaitGroup              *sync.WaitGroup
}

func (Etcd) Run

func (etcd Etcd) Run() error

Jump to

Keyboard shortcuts

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