Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage interface { StoreOne(key string, cache []byte) error StoreList(key string, cache []byte) error LoadOne(key string) ([]byte, error) LoadList(key string) ([]byte, error) Delete(key string) error }
func CreateStorage ¶
func CreateStorage(config *config.LiteServerConfig) Storage
func NewBadgerStorage ¶
func NewBoltStorage ¶
func NewFileStorage ¶
func NewMemoryStorage ¶
func NewMemoryStorage() Storage
func NewPebbleStorage ¶ added in v0.7.0
Click to show internal directories.
Click to hide internal directories.