Versions in this module Expand all Collapse all v1 v1.3.1 May 23, 2018 Changes in this version + func GetQQOpenId(token QQAccessToken) (openid string, err error) + type GiteeAccessToken struct + AccessToken string + CreatedAt int + ExpiresIn int + RefreshToken string + Scope string + TokenType string + func GetGiteeAccessToken(code string) (token GiteeAccessToken, err error) + type GiteeUser struct + AvatarURL string + Email string + HtmlURL string + Id int + Login string + MemberId int + Name string + UpdatedAt time.Time + func GetGiteeUserInfo(accessToken string) (info GiteeUser, err error) + type GithubAccessToken struct + AccessToken string + Scope string + TokenType string + func GetGithubAccessToken(code string) (token GithubAccessToken, err error) + type GithubUser struct + AvatarURL string + Email string + HtmlURL string + Id int + Login string + MemberId int + Name string + UpdatedAt time.Time + func GetGithubUserInfo(accessToken string) (info GithubUser, err error) + type QQAccessToken struct + AccessToken string + func GetQQAccessToken(code string) (token QQAccessToken, err error) + type QQUser struct + AvatarURL string + Gender string + Msg string + Name string + Ret int + func GetQQUserInfo(accessToken, openid string) (info QQUser, err error)