Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrOpenFailed = errors.New("store: open failed")
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
type Cookie ¶
type Cookie struct {
// contains filtered or unexported fields
}
type KV ¶
type KV struct {
// contains filtered or unexported fields
}
type Object ¶
type Object struct {
// contains filtered or unexported fields
}
type SQL ¶
type SQL struct {
// contains filtered or unexported fields
}
type Store ¶
type Store interface { // Load loads the value of the provided key. Load(key string) ([]byte, error) // Save saves the value of the provided key. Save(key string, value []byte) error // Erase erases the value of the provided key. Erase(key string) error }
Store represents a persistent store.
Click to show internal directories.
Click to hide internal directories.