Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶ added in v1.5.0
type Option func(*application) error
Option serves as the client configuration
func WithConfig ¶ added in v1.5.0
WithConfig provides viper config to the client
func WithStorage ¶ added in v1.5.0
WithStorage provides Storage to the client
type Storage ¶ added in v1.5.0
type Storage interface { Close(delete bool) error Keys() ([]string, error) Get(key string) ([]byte, error) GetMultipleBySuffix(suffix string) ([]string, [][]byte, error) Put(key string, val []byte) error Delete(key string) error Purge() error }
Storage describes the storage
Click to show internal directories.
Click to hide internal directories.