Versions in this module Expand all Collapse all v0 v0.6.7 May 28, 2021 Changes in this version + const DefaultDeveloperProxyURL + const DefaultFileProxyURL + const DefaultMerchantProxyURL + type Config struct + ShansongAppAuthBaseURL string + ShansongAppConfigLifeSpan gokits.Duration + ShansongAppDeveloperProxyURL string + ShansongAppFileProxyURL string + ShansongAppMerchantProxyURL string + ShansongAppRefreshTokenURL string + ShansongAppTokenLifeSpan gokits.Duration + ShansongAppTokenTempLifeSpan gokits.Duration + ShansongAppTokenURL string + type QueryShansongAppToken struct + ExpireTime int64 + RefreshToken string + Updated string + func (q *QueryShansongAppToken) GetExpireTime() int64 + func (q *QueryShansongAppToken) GetUpdated() string + type Response struct + Data ResponseData + Msg string + Status int + type ResponseData struct + AccessToken string + ExpiresIn int + RefreshToken string + type ShansongAppConfig struct + AppId string + AppSecret string + CallbackURL string + RedirectURL string + type ShansongAppToken struct + AccessToken string + AppId string + MerchantCode string + type ShansongAppTokenKey struct + CodeName string + MerchantCode string