package
2.3.8+incompatible
Repository: https://github.com/etcd-io/etcd.git
Documentation: pkg.go.dev

# Functions

NewElection returns a new election on a given key prefix.
NewLocker creates a sync.Locker backed by an etcd mutex.
NewSession gets the leased session for a client.
NewSTMRepeatable initiates new repeatable read transaction; reads within the same transaction attempt always return the same data.
NewSTMSerializable initiates a new serialized transaction; reads within the same transactiona attempt return data from the revision of the first read.
NewUniqueKey creates a new key from a given prefix.

# Variables

# Structs

Mutex implements the sync Locker interface with etcd.
Session represents a lease kept alive for the lifetime of a client.

# Interfaces

STM is an interface for software transactional memory.