Documentation ¶
Index ¶
- Variables
- func FromTreeToMainKey(k string) string
- type DeleteInput
- type GetInput
- type GetOutput
- type Key
- type ParserState
- type PutInput
- type Storage
- func (s *Storage) CacheStats() map[string]interface{}
- func (s *Storage) Close() error
- func (s *Storage) CollectLocalProfiles() error
- func (s *Storage) Delete(di *DeleteInput) error
- func (s *Storage) DeleteDataBefore(threshold time.Time) error
- func (s *Storage) DiskUsage() map[string]bytesize.ByteSize
- func (s *Storage) Get(gi *GetInput) (*GetOutput, error)
- func (s *Storage) GetKeys(cb func(_k string) bool)
- func (s *Storage) GetValues(key string, cb func(v string) bool)
- func (s *Storage) InstallID() string
- func (s *Storage) IsClosing() bool
- func (s *Storage) Put(po *PutInput) error
- func (s *Storage) PutLocal(po *PutInput) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAlreadyClosed = errors.New("the db is already closed")
View Source
var ErrClosing = errors.New("the db is in closing state")
View Source
var OutOfSpaceThreshold = 512 * bytesize.MB
Functions ¶
func FromTreeToMainKey ¶
Types ¶
type DeleteInput ¶ added in v0.0.33
type DeleteInput struct {
Key *Key
}
type Key ¶
type Key struct {
// contains filtered or unexported fields
}
func (*Key) Normalized ¶
func (*Key) SegmentKey ¶
type ParserState ¶
type ParserState int
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func (*Storage) CacheStats ¶ added in v0.0.33
func (*Storage) CollectLocalProfiles ¶ added in v0.0.33
func (*Storage) Delete ¶ added in v0.0.33
func (s *Storage) Delete(di *DeleteInput) error
func (*Storage) DeleteDataBefore ¶ added in v0.0.33
Source Files ¶
Click to show internal directories.
Click to hide internal directories.