Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cacher ¶
type Cacher interface { Shutdown(ctx context.Context) Get(ctx context.Context, key string) ([]byte, error) Set(ctx context.Context, key string, val []byte) error SetWithExpiry(ctx context.Context, key string, val []byte, expiry time.Duration) error Delete(ctx context.Context, key string) error Publish(ctx context.Context, channelName string, binary []byte) error Subscribe(ctx context.Context, channelName string) RedisSubscriber GetRedisClient() redis.UniversalClient }
Click to show internal directories.
Click to hide internal directories.