Documentation
¶
Index ¶
- type RedisDataStore
- func (redisDataStore *RedisDataStore) Get(ctx context.Context, key string) *redis.StringCmd
- func (redisDataStore *RedisDataStore) Publish(ctx context.Context, channel string, payload interface{}) error
- func (redisDataStore *RedisDataStore) Set(ctx context.Context, key string, value interface{}, expiration time.Duration) error
- func (redisDataStore *RedisDataStore) SetWithExpiration(ctx context.Context, key string, value interface{}, expiration time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisDataStore ¶
type RedisDataStore struct { Debug bool // contains filtered or unexported fields }
func (*RedisDataStore) Get ¶ added in v1.0.1
func (redisDataStore *RedisDataStore) Get(ctx context.Context, key string) *redis.StringCmd
func (*RedisDataStore) Publish ¶ added in v1.0.1
func (redisDataStore *RedisDataStore) Publish(ctx context.Context, channel string, payload interface{}) error
func (*RedisDataStore) SetWithExpiration ¶ added in v1.0.1
Click to show internal directories.
Click to hide internal directories.