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
- func (w *DB) SetCallback(group string, callback func(event fsnotify.Event) error) 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 ¶
func (w *DB) GetChatRooms(key string, limit, offset int) (*GetChatRoomsResp, error)
func (*DB) GetContacts ¶
func (w *DB) GetContacts(key string, limit, offset int) (*GetContactsResp, error)
func (*DB) GetMessages ¶
func (*DB) GetSessions ¶
func (w *DB) GetSessions(key string, limit, offset int) (*GetSessionsResp, error)
func (*DB) Initialize ¶
type GetChatRoomsResp ¶
type GetContactsResp ¶
type GetSessionsResp ¶
Click to show internal directories.
Click to hide internal directories.