Versions in this module Expand all Collapse all v1 v1.0.0 Jan 13, 2020 Changes in this version + const AccessTokenURL + type Context struct + AppID string + AppSecret string + Cache cache.Cache + EncodingAESKey string + PayKey string + PayMchID string + PayNotifyURL string + PaySubMchID string + Request *http.Request + Token string + Writer http.ResponseWriter + func (ctx *Context) GetAccessToken() (accessToken string, err error) + func (ctx *Context) GetAccessTokenFromServer() (resAccessToken ResAccessToken, err error) + func (ctx *Context) GetJsAPITicketLock() *sync.RWMutex + func (ctx *Context) GetQuery(key string) (string, bool) + func (ctx *Context) Query(key string) string + func (ctx *Context) Render(bytes []byte) + func (ctx *Context) SetAccessTokenLock(l *sync.RWMutex) + func (ctx *Context) SetJsAPITicketLock(lock *sync.RWMutex) + func (ctx *Context) String(str string) + func (ctx *Context) XML(obj interface{}) + type ResAccessToken struct + AccessToken string + ExpiresIn int64