Documentation ¶
Index ¶
- type Config
- type Redis
- func (m *Redis) Close() error
- func (m *Redis) Connect() error
- func (m *Redis) DeleteObject(key string) error
- func (m *Redis) GetConnection() interface{}
- func (m *Redis) GetObject(obj interface{}, key string) error
- func (m *Redis) NewConfig() interface{}
- func (m *Redis) PublishObject(channel string, value interface{}) error
- func (m *Redis) Receive(psc redis.PubSubConn)
- func (m *Redis) SetObject(key string, value interface{}, expire int) error
- func (m *Redis) Subscribe(channel string) (redis.PubSubConn, error)
- func (m *Redis) ValidateBefore() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Redis ¶
type Redis struct { ReceiveQueue chan []byte // contains filtered or unexported fields }
func (*Redis) DeleteObject ¶
func (*Redis) GetConnection ¶
func (m *Redis) GetConnection() interface{}
func (*Redis) PublishObject ¶
func (*Redis) Receive ¶
func (m *Redis) Receive(psc redis.PubSubConn)
func (*Redis) ValidateBefore ¶
Click to show internal directories.
Click to hide internal directories.