Documentation ¶
Index ¶
- func HandleAuthServiceMessages(message *redis.Message)
- type Client
- type Redis
- func (c *Redis) Delete(key string) error
- func (c *Redis) Get(key string) (interface{}, error)
- func (c *Redis) Publish(channel string, message interface{})
- func (c *Redis) Set(key string, value interface{}, timeoutSeconds int) error
- func (c *Redis) Subscribe(key string, handler func(message *redis.Message), channels ...string) *redis.PubSub
- func (c *Redis) Unsubscribe(key string)
- type RedisSubscription
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleAuthServiceMessages ¶
func HandleAuthServiceMessages(message *redis.Message)
Types ¶
type Client ¶
type Client interface { Set(key string, value interface{}, timeoutSeconds int) error Get(key string) (interface{}, error) Delete(key string) error }
var (
RedisClient Client
)
type Redis ¶
type Redis struct {
// contains filtered or unexported fields
}
func (*Redis) Unsubscribe ¶
type RedisSubscription ¶
type RedisSubscription struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.