Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFound = errors.New("etcdwrapper: key not found")
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { List(ctx context.Context, key string, rev int) ([]Value, error) Get(ctx context.Context, key string) (Value, error) Put(ctx context.Context, key string, value []byte) error Create(ctx context.Context, key string, value []byte) error Update(ctx context.Context, key string, revision int64, value []byte) error Delete(ctx context.Context, key string, revision int64) error Close() error }
Click to show internal directories.
Click to hide internal directories.