Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IDatabase ¶
type IDatabase interface {
GetString(key string) (string, error)
GetListWithPrefix(prefix string, limit int64) ([]string, error)
Set(key string, value any, expiration time.Duration)
SetWithSortKey(pk string, sk string, value any, expiration time.Duration)
Get(key string) ([]byte, error)
Delete(key string) error
}
func GetMainDatabase ¶
Click to show internal directories.
Click to hide internal directories.