Documentation ¶
Index ¶
- type Repository
- func (e *Repository) Compact(ctx context.Context, rev int64, opts ...clientv3.CompactOption) (*clientv3.CompactResponse, error)
- func (e *Repository) Delete(ctx context.Context, key string, opts ...clientv3.OpOption) (*clientv3.DeleteResponse, error)
- func (e *Repository) Do(ctx context.Context, op clientv3.Op) (clientv3.OpResponse, error)
- func (e *Repository) Get(ctx context.Context, key string, opts ...clientv3.OpOption) (*clientv3.GetResponse, error)
- func (e *Repository) Put(ctx context.Context, key, val string, opts ...clientv3.OpOption) (*clientv3.PutResponse, error)
- func (e *Repository) Txn(ctx context.Context) clientv3.Txn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
func (*Repository) Compact ¶
func (e *Repository) Compact(ctx context.Context, rev int64, opts ...clientv3.CompactOption) (*clientv3.CompactResponse, error)
func (*Repository) Delete ¶
func (e *Repository) Delete(ctx context.Context, key string, opts ...clientv3.OpOption) (*clientv3.DeleteResponse, error)
func (*Repository) Do ¶
func (e *Repository) Do(ctx context.Context, op clientv3.Op) (clientv3.OpResponse, error)
func (*Repository) Get ¶
func (e *Repository) Get(ctx context.Context, key string, opts ...clientv3.OpOption) (*clientv3.GetResponse, error)
func (*Repository) Put ¶
func (e *Repository) Put(ctx context.Context, key, val string, opts ...clientv3.OpOption) (*clientv3.PutResponse, error)
Click to show internal directories.
Click to hide internal directories.