Documentation ¶
Index ¶
Constants ¶
View Source
const (
MpQQCode2SessionUrl = "https://api.q.qq.com/sns/jscode2session"
)
View Source
const (
MpWechatCode2SessionUrl = "https://api.weixin.qq.com/sns/jscode2session"
)
View Source
const (
QQGetUserInfoUrl = "https://graph.qq.com/user/get_user_info?access_token=%s&openid=%s&oauth_consumer_key=%s"
)
Variables ¶
This section is empty.
Functions ¶
func GetMpWechat ¶
func GetMpWechat() *mpWechatDriver
Types ¶
type Code2Session ¶
func (*Code2Session) CommonCode2Session ¶
func (c2s *Code2Session) CommonCode2Session(ctx context.Context) (*Code2SessionRsp, error)
type Code2SessionRsp ¶
Click to show internal directories.
Click to hide internal directories.