package
module
Version:
v0.0.0-...-2da0b50
Opens a new window with list of versions in this module.
Published: Feb 26, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Documentation
¶
type Cache interface {
Ping() error
Get(context.Context, Key) (string, error)
Put(context.Context, Key, Value, time.Duration) error
Delete(context.Context, Key) error
Exist(context.Context, Key) (bool, error)
Expire(context.Context, Key, time.Duration) error
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.