enum

package
v0.0.0-...-d11ada0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2019 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APPID     = "appid"
	FUN       = "fun"
	Lang      = "lang"
	LangValue = "zh_CN"
	TimeStamp = "_"
	UUID      = "uuid"
	R         = "r"

	/* 以下信息会存储在loginMap中 */
	Ret          = "ret"
	Message      = "message"
	SKey         = "skey"
	WXSid        = "wxsid"
	WXUin        = "wxuin"
	PassTicket   = "pass_ticket"
	IsGrayscale  = "isgrayscale"
	DeviceID     = "DeviceID"
	SelfUserName = "UserName"
	SelfNickName = "NickName"
	SyncKeyStr   = "synckeystr"

	Sid         = "sid"
	Uin         = "uin"
	DeviceId    = "deviceid"
	SyncKey     = "synckey"
	BaseRequest = "BaseRequest"
)
View Source
const (
	BASE_URL   = "https://login.weixin.qq.com"           /* API基准地址 */
	UUID_URL   = BASE_URL + "/jslogin"                   /* 获取uuid的地址 */
	QRCODE_URL = BASE_URL + "/qrcode/"                   /* 获取二维码的地址 */
	LOGIN_URL  = BASE_URL + "/cgi-bin/mmwebwx-bin/login" /* 登陆URL  */

	API_BASE_URL              = "https://wx.qq.com/cgi-bin/mmwebwx-bin" /* API基准地址 */
	INIT_URL                  = API_BASE_URL + "/webwxinit"             /* 初始化URL  */
	STATUS_NOTIFY_URL         = API_BASE_URL + "/webwxstatusnotify"     /* 通知微信状态变化 */
	GET_ALL_CONTACT_URL       = API_BASE_URL + "/webwxgetcontact"       /* 获取所有联系人信息 */
	WEB_WX_SYNC_URL           = API_BASE_URL + "/webwxsync"             /* 拉取同步消息 */
	WEB_WX_SENDMSG_URL        = API_BASE_URL + "/webwxsendmsg"          /* 发送消息 */
	WEB_WX_UPDATECHATROOM_URL = API_BASE_URL + "/webwxupdatechatroom"   /* 群更新,主要用来邀请好友 */

	SYNC_CHECK_URL = "https://webpush.wx.qq.com/cgi-bin/mmwebwx-bin/synccheck" /* 检查心跳URL */
)
View Source
const (
	JSON_HEADER = "application/json;charset=UTF-8"
)

Variables

This section is empty.

Functions

func GetChildKeywordsInfo

func GetChildKeywordsInfo(fatherName string) (string, string, string)

返回分组介绍和所有分组关键词的组装

func GetFatherKeywordsStr

func GetFatherKeywordsStr() string

得到关键词父级目录

func GetFocusGroupKeywordChildren

func GetFocusGroupKeywordChildren() []string

获取所有关键词

func GetInitParaEnum

func GetInitParaEnum() map[string]string

func GetLoginParaEnum

func GetLoginParaEnum() map[string]string

func GetUUIDParaEnum

func GetUUIDParaEnum() map[string]string

Types

type FocusGroupKeywords

type FocusGroupKeywords struct {
	FatherName   string
	Description  string
	ExampleStr   string
	ChildrenName []string
}

func GetFocusGroupKeywords

func GetFocusGroupKeywords() []FocusGroupKeywords

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL