Documentation ¶ Index ¶ Variables func GetInt64(key string) int64 func InitCache() error func SetInt64(key string, value int64) func Shutdown() func Unique(ctx context.Context, id string, latest []any) ([]types.KV, error) func UniqueString(ctx context.Context, id string, latest string) (bool, error) Constants ¶ This section is empty. Variables ¶ View Source var DB *redis.Client Functions ¶ func GetInt64 ¶ added in v0.18.1 func GetInt64(key string) int64 func InitCache ¶ func InitCache() error func SetInt64 ¶ added in v0.18.1 func SetInt64(key string, value int64) func Shutdown ¶ func Shutdown() func Unique ¶ added in v0.23.1 func Unique(ctx context.Context, id string, latest []any) ([]types.KV, error) func UniqueString ¶ added in v0.23.1 func UniqueString(ctx context.Context, id string, latest string) (bool, error) Types ¶ This section is empty. Source Files ¶ View all Source files cache.go unique.go Click to show internal directories. Click to hide internal directories.