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