Documentation ¶
Index ¶
- func NewAerospikeBackend(conf map[string]string, logger log.Logger) (physical.Backend, error)
- type AerospikeBackend
- func (a *AerospikeBackend) Delete(_ context.Context, key string) error
- func (a *AerospikeBackend) Get(_ context.Context, key string) (*physical.Entry, error)
- func (a *AerospikeBackend) List(_ context.Context, prefix string) ([]string, error)
- func (a *AerospikeBackend) Put(_ context.Context, entry *physical.Entry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AerospikeBackend ¶
type AerospikeBackend struct {
// contains filtered or unexported fields
}
AerospikeBackend is a physical backend that stores data in Aerospike.
func (*AerospikeBackend) Delete ¶
func (a *AerospikeBackend) Delete(_ context.Context, key string) error
Delete is used to permanently delete an entry.
Click to show internal directories.
Click to hide internal directories.