Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MapRepository ¶
type MapRepository struct {
// contains filtered or unexported fields
}
func CreateMapRepository ¶
func CreateMapRepository() MapRepository
type RedisStateRepostory ¶ added in v0.4.0
type RedisStateRepostory struct {
// contains filtered or unexported fields
}
type StateRepository ¶
type StateRepository interface { SaveState(chat_id int64, state string) error LoadState(chat_id int64) (string, error) }
func CreateRedisStateRepostory ¶ added in v0.4.0
func CreateRedisStateRepostory(client *redis.Client) StateRepository
Click to show internal directories.
Click to hide internal directories.