Documentation ¶
Index ¶
- func UnmarshalJSONItem(js []byte) (web.Item, error)
- type RedisControllerStore
- type RedisConversationStore
- func (cs *RedisConversationStore) Active(botid web.BotID) (id, state string, err error)
- func (cs *RedisConversationStore) End(botid web.BotID) error
- func (cs *RedisConversationStore) GetData(botid web.BotID, key string) (string, error)
- func (cs *RedisConversationStore) IsActive(botid web.BotID) bool
- func (cs *RedisConversationStore) SetData(botid web.BotID, key, value string) error
- func (cs *RedisConversationStore) SetState(botid web.BotID, state string) error
- func (cs *RedisConversationStore) Start(botid web.BotID, id string) error
- type RedisItemStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RedisControllerStore ¶
type RedisControllerStore struct {
// contains filtered or unexported fields
}
func NewRedisControllerStore ¶
func NewRedisControllerStore(host string) (*RedisControllerStore, error)
type RedisConversationStore ¶
type RedisConversationStore struct {
// contains filtered or unexported fields
}
func NewRedisConversationStore ¶
func NewRedisConversationStore(host string) (*RedisConversationStore, error)
func (*RedisConversationStore) Active ¶
func (cs *RedisConversationStore) Active(botid web.BotID) (id, state string, err error)
func (*RedisConversationStore) IsActive ¶
func (cs *RedisConversationStore) IsActive(botid web.BotID) bool
func (*RedisConversationStore) SetData ¶
func (cs *RedisConversationStore) SetData(botid web.BotID, key, value string) error
Click to show internal directories.
Click to hide internal directories.