Versions in this module Expand all Collapse all v3 v3.1.0 Feb 5, 2017 Changes in this version + type BotContext interface + AddPlugin func(key interface{}, val plugins.BotMessagePlugin) + PluginManager func() plugins.PluginManager + Run func(connectedFunc func(event plugins.BotEvent)) + SendMessage func(message, channel string) + WebSocketRTM func() + func NewBotContext(token string) (BotContext, error) + type Context struct + Client *slack.Client + Plugins plugins.PluginManager + RTM *slack.RTM + func NewBotContextNotSysstd(token string) (*Context, error) + func NewContext(token string) (*Context, error) + func (b *Context) PluginManager() plugins.PluginManager + func (ctx *Context) AddPlugin(key interface{}, val plugins.BotMessagePlugin) + func (ctx *Context) Run(connectedFunc func(event plugins.BotEvent)) + func (ctx *Context) SendMessage(message, channel string) + func (ctx *Context) WebSocketRTM() + type Repository interface + Close func() error + Load func(key string) (string, error) + LoadList func(key string) ([]string, error) + Save func(key string, value string) error + SaveList func(key string, values []string) error + func NewOnMemoryRepository() Repository + func NewRedisRepository(addr, password string, db int64) Repository