Documentation
¶
Index ¶
- Constants
- func Clear(ctx context.Context) (any, error)
- func CreateHash(cmdLine string, block []rune) string
- func Days(ttl int) time.Time
- func DbEnabled() bool
- func DbPath() string
- func Dump(ctx context.Context) (any, error)
- func InitCache()
- func ListNamespaces() []string
- func Read(namespace string, key string, ptr any) bool
- func Seconds(ttl int) time.Time
- func SetPath(path string)
- func Trim(ctx context.Context) (any, error)
- func Write(namespace string, key string, value any, ttl time.Time)
Constants ¶
View Source
const ( NS_INPUTBOXW_HISTORY = "inputboxw_history" NS_NOTESW_FILES = "notesw_files" )
Variables ¶
This section is empty.
Functions ¶
func CreateHash ¶
func ListNamespaces ¶
func ListNamespaces() []string
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.