Documentation ¶
Index ¶
- Variables
- func CheckLogin(UUID string) bool
- func CookieDataTicket() string
- func GetAllContact() string
- func GetQrcode(UUID string, QrcodeStr *string) bool
- func GetRandomString(index int, length int) string
- func GetUUID() (UUID string)
- func InviteMember(memberUserName string, chatRoomUserName string)
- func IsLogin() bool
- func JSONMarshal(t interface{}) (string, error)
- func LoadLogin() bool
- func NotifyStatus() bool
- func SaveLogin()
- func SendFileMsg(filepath, to string) error
- func SendMsg(con map[string]interface{})
- func SendMsgEmoticon(con map[string]interface{})
- func SendMsgFile(con map[string]interface{})
- func SendMsgImage(con map[string]interface{})
- func SendMsgVideo(con map[string]interface{})
- func SendTextMsg(content, to string) error
- func SetRemark(remark, to string) (bool, error)
- func SyncCheck() (retcode, selector int)
- func SyncKeyToJson(S gjson.Result) string
- func SyncKeyToString(S gjson.Result) string
- func UploadMedia(buf []byte, kind types.Type, info os.FileInfo, to string) (string, error)
- func WebWxSync() gjson.Result
- type BaseRequest
- type ContactList
- type LoginXML
- type User
- type UserInfoModel
Constants ¶
This section is empty.
Variables ¶
View Source
var NickName, UserName string
View Source
var SKey, Sid, Uin, DeviceID, PassTicket string
View Source
var SaveFileName string = "wx.data"
View Source
var SyncKey gjson.Result
View Source
var UserNameToNickName map[string]string
Functions ¶
func CheckLogin ¶
func CookieDataTicket ¶
func CookieDataTicket() string
func GetAllContact ¶
func GetAllContact() string
func GetRandomString ¶
func InviteMember ¶
func JSONMarshal ¶
func NotifyStatus ¶
func NotifyStatus() bool
func SendFileMsg ¶
func SendMsgEmoticon ¶
func SendMsgEmoticon(con map[string]interface{})
func SendMsgFile ¶
func SendMsgFile(con map[string]interface{})
func SendMsgImage ¶
func SendMsgImage(con map[string]interface{})
func SendMsgVideo ¶
func SendMsgVideo(con map[string]interface{})
func SendTextMsg ¶
func SyncKeyToJson ¶
func SyncKeyToString ¶
func UploadMedia ¶
Types ¶
type BaseRequest ¶
func GetBaseRequestStr ¶
func GetBaseRequestStr() BaseRequest
type ContactList ¶
type ContactList struct { MemberCount int `json:"MemberCount"` MemberList []User `json:"MemberList"` }
var Contact ContactList
type UserInfoModel ¶
var UserInfo UserInfoModel
Click to show internal directories.
Click to hide internal directories.