Versions in this module Expand all Collapse all v1 v1.1.2 Jun 8, 2015 v1.1.1 Jun 8, 2015 Changes in this version + const REDIS_KEY_WC_ACCESS_TOKEN + func AutoGetAccessToken() + func GetAccessToken() string + func GetTempQrUrl(expire_seconds int, scene_id int, scene_str string) string + func GetTempTicket(expire_seconds int, scene_id int, scene_str string) string + func GetUserList() + func GetUserListInfo() + func ReceiveMsg(content string) (r string) + func RegDB() + func UpdateAccessToken() (expires_in int, err error) + type AccessToken struct + Access_token string + Expires_in int64 + func (this *AccessToken) Decode(jsonstr []byte) error + type MsgType struct + Event string + MsgType string + type Ticket struct + Expire_seconds int + Ticket string + Url string + type WXOpenIDList struct + Openid []string + type WXUserInfo struct + City string + Country string + Headimgurl string + Id int64 + Language string + Nickname string + Openid string + Province string + Sex int + Subscribe int + Subscribe_time int64 + Unionid int + func GetUserInfo(openid string) (this *WXUserInfo) + type WXUserList struct + Count int + Data WXOpenIDList + Next_openid string + Total int + type WX_AMR struct + CreateTime string + Format string + FromUserName string + Id int64 + MediaID string + MsgID int64 + MsgType string + Recognition string + ToUserName string + type WebAccessToken struct + Access_token string + Expires_in int + Openid string + Refresh_token string + Scope string + func GetWebAccessToken(code string) *WebAccessToken + func (this *WebAccessToken) GetUserInfo() *WebUserInfo + func (this *WebAccessToken) RefreshAccessToken() + type WebUserInfo struct + City string + Country string + Headimgurl string + Id int64 + Nickname string + Openid string + Privilege []string + Province string + Sex int + Unionid int64 + func (this *WebUserInfo) Insert() error