Documentation ¶
Index ¶
- func NewSinkhole(name, location string) (storage.Interface, error)
- type Sinkhole
- func (s *Sinkhole) Delete(key string) error
- func (s *Sinkhole) Exists(key string) (bool, error)
- func (s *Sinkhole) Get(key string) (record.Record, error)
- func (s *Sinkhole) Maintain() error
- func (s *Sinkhole) MaintainThorough() (err error)
- func (s *Sinkhole) Put(m record.Record) error
- func (s *Sinkhole) Query(q *query.Query) (*iterator.Iterator, error)
- func (s *Sinkhole) ReadOnly() bool
- func (s *Sinkhole) Shutdown() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Sinkhole ¶
type Sinkhole struct {
// contains filtered or unexported fields
}
Sinkhole is a dummy storage.
func (*Sinkhole) MaintainThorough ¶
MaintainThorough runs a thorough maintenance operation on the database.
Click to show internal directories.
Click to hide internal directories.