Documentation
¶
Index ¶
- type DB
- func (w *DB) Close() error
- func (w *DB) GetChatRooms(key string, limit, offset int) (*GetChatRoomsResp, error)
- func (w *DB) GetContacts(key string, limit, offset int) (*GetContactsResp, error)
- func (w *DB) GetMedia(_type string, key string) (*model.Media, error)
- func (w *DB) GetMessages(start, end time.Time, talker string, sender string, keyword string, ...) ([]*model.Message, error)
- func (w *DB) GetSessions(key string, limit, offset int) (*GetSessionsResp, error)
- func (w *DB) Initialize() error
- type GetChatRoomsResp
- type GetContactsResp
- type GetSessionsResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) GetChatRooms ¶ added in v0.0.2
func (w *DB) GetChatRooms(key string, limit, offset int) (*GetChatRoomsResp, error)
func (*DB) GetContacts ¶ added in v0.0.2
func (w *DB) GetContacts(key string, limit, offset int) (*GetContactsResp, error)
func (*DB) GetMessages ¶
func (*DB) GetSessions ¶ added in v0.0.2
func (w *DB) GetSessions(key string, limit, offset int) (*GetSessionsResp, error)
func (*DB) Initialize ¶
type GetChatRoomsResp ¶ added in v0.0.2
type GetContactsResp ¶ added in v0.0.2
type GetSessionsResp ¶ added in v0.0.2
Click to show internal directories.
Click to hide internal directories.