Documentation
¶
Index ¶
- type Service
- func (s *Service) Close()
- func (s *Service) GetChatRooms(key string, limit, offset int) (*wechatdb.GetChatRoomsResp, error)
- func (s *Service) GetContacts(key string, limit, offset int) (*wechatdb.GetContactsResp, error)
- func (s *Service) GetDB() *wechatdb.DB
- func (s *Service) GetMessages(start, end time.Time, talker string, limit, offset int) ([]*model.Message, error)
- func (s *Service) GetSessions(key string, limit, offset int) (*wechatdb.GetSessionsResp, error)
- func (s *Service) Start() error
- func (s *Service) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) GetChatRooms ¶ added in v0.0.2
func (*Service) GetContacts ¶ added in v0.0.2
func (*Service) GetMessages ¶
func (*Service) GetSessions ¶ added in v0.0.2
GetSession retrieves session information
Click to show internal directories.
Click to hide internal directories.