Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Redibot ¶
type Redibot struct { Slack *slack.Slack RedisManager *RedisManager }
Redibot facilitates the Slack and Redis connections required for the bot to operate
func NewRedibot ¶
NewRedibot creates a new instance of Redibot
func (*Redibot) GetWSMessage ¶
GetWSMessage gets a message off the web socket connection
type RedisManager ¶
type RedisManager struct {
// contains filtered or unexported fields
}
RedisManager manages redis server pools
func NewRedisManager ¶
func NewRedisManager() *RedisManager
NewRedisManager creates an instance of RedisManager
func (*RedisManager) AddPool ¶
func (r *RedisManager) AddPool(host string, password string)
AddPool adds a redis pool (new redis server connection)
func (*RedisManager) Do ¶
func (r *RedisManager) Do(host, cmd string, a []string) (interface{}, error)
Do executes an arbitrary redis command
Click to show internal directories.
Click to hide internal directories.