Documentation
¶
Index ¶
Constants ¶
View Source
const ( PROVIDER_GO_CACHE = gocache.AppName PROVIDER_REDIS = redis.AppName )
View Source
const (
AppName = "cache"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface {
Set(ctx context.Context, key string, value any, options ...SetOption) error
IncrBy(ctx context.Context, key string, value int64) (int64, error)
Get(ctx context.Context, key string, value any) error
Exist(ctx context.Context, key string) error
Del(ctx context.Context, keys ...string) error
}
Click to show internal directories.
Click to hide internal directories.