Documentation
¶
Index ¶
- func ContactInit(loginService *services.LoginService) (*services.InitService, error)
- func GetChatList() []services.Member
- func GetCloseChan() <-chan bool
- func GetCloseOpChan() chan<- bool
- func GetContact() services.ContactList
- func GetGlobalMemberMap() map[string]services.TinyMemberInfo
- func GetMPSubscribeMsgList() []services.MPSubscribeMsg
- func GetReadChan() <-chan services.Message
- func GetSendChan() chan<- services.SendMessage
- func GetSendRespChan() <-chan services.SendMessageResp
- func GetUserInfo() services.User
- func GetWeChat() *weChat
- func Login() (*services.LoginService, error)
- func MsgInit(initService *services.InitService) (*services.MsgServices, error)
- func New() *weChat
- func SetCacheHistory(set bool)
- func SetCryptConf(conf *global.CryptConf)
- func SetHoReload(set bool)
- func SetLog(logLevel string, logOutChan chan string, logFile *os.File)
- func SetRootPath(dir string)
- func Start() error
- func Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContactInit ¶
func ContactInit(loginService *services.LoginService) (*services.InitService, error)
初始化信息,联系人等
func MsgInit ¶
func MsgInit(initService *services.InitService) (*services.MsgServices, error)
func SetCryptConf ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.