Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithCallbacks ¶
func WithCallbacks(callbacks map[string]StorageCallbackFunc) func(*storage)
func WithStorageFile ¶
func WithStorageFile(file string) func(*storage)
Types ¶
type StorageCallbackFunc ¶
type StorageWithCallbacks ¶
type StorageWithCallbacks interface { configuration.Storage RegisterCallback(key string, callback StorageCallbackFunc) UnRegisterCallback(key string) }
func NewStorageWithCallbacks ¶
func NewStorageWithCallbacks(opts ...storageOption) (StorageWithCallbacks, error)
Click to show internal directories.
Click to hide internal directories.