Documentation ¶
Overview ¶
Package store defines and implements data store for boltdb and in-memory
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrLoadRejected = fmt.Errorf("message expired or deleted") ErrSaveRejected = fmt.Errorf("can't save message") )
Error messages
Functions ¶
Types ¶
type Bolt ¶
type Bolt struct {
// contains filtered or unexported fields
}
Bolt implements store.Engine with boltdb
type InMemory ¶
type InMemory struct {
// contains filtered or unexported fields
}
InMemory implements store.Interface with concurrent map
func NewInMemory ¶
NewInMemory makes new store with max duration
Click to show internal directories.
Click to hide internal directories.