Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatDb ¶
type RedisChatDb ¶
type RedisChatDb struct {
// contains filtered or unexported fields
}
func NewRedisChatDb ¶
func NewRedisChatDb(url string) (*RedisChatDb, error)
func (*RedisChatDb) GetMsgList ¶
func (r *RedisChatDb) GetMsgList(userId string) ([]Msg, error)
func (*RedisChatDb) SetMsgList ¶
func (r *RedisChatDb) SetMsgList(userId string, msgList []Msg)
Click to show internal directories.
Click to hide internal directories.