Documentation
¶
Index ¶
- Constants
- type Config
- 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) GetMedia(_type string, key string) (*model.Media, error)
- func (s *Service) GetMessages(start, end time.Time, talker string, sender string, keyword string, ...) ([]*model.Message, error)
- func (s *Service) GetSessions(key string, limit, offset int) (*wechatdb.GetSessionsResp, error)
- func (s *Service) SetDecrypting()
- func (s *Service) SetError(msg string)
- func (s *Service) SetInit()
- func (s *Service) SetReady()
- func (s *Service) Start() error
- func (s *Service) Stop() error
Constants ¶
View Source
const ( StateInit = iota StateDecrypting StateReady StateError )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
func NewService ¶
func (*Service) GetChatRooms ¶
func (*Service) GetContacts ¶
func (*Service) GetMessages ¶
func (*Service) GetSessions ¶
GetSession retrieves session information
func (*Service) SetDecrypting ¶
func (s *Service) SetDecrypting()
Click to show internal directories.
Click to hide internal directories.