Versions in this module Expand all Collapse all v1 v1.0.0 Jan 17, 2019 Changes in this version + var ApiSignQueryNames = []string + func JumpToApiError(context gcontroller.ActionContext, args ...interface{}) + func SetApiSignParams(qs *query.QuerySet, asp *ApiSignParams) + func VerifyApiSign(asp *ApiSignParams, queryValues url.Values, signQueryNames []string, ...) *exception.Exception + type ApiContext struct + ApiData struct{ ... } + MongoClient *mongo.Client + MongoLogger golog.ILogger + MongoPool *mongo.Pool + MysqlClient *mysql.Client + RedisClient *redis.Client + RedisPool *redis.Pool + func (a *ApiContext) AfterAction() + func (a *ApiContext) BeforeAction() + func (a *ApiContext) Data() interface{} + func (a *ApiContext) Destruct() + func (a *ApiContext) Err() *exception.Exception + func (a *ApiContext) Version() string + type ApiSignParams struct + Debug int + Nonce string + Sign string + T int64 + type BaseController struct + func (b *BaseController) NewActionContext(req *http.Request, respWriter http.ResponseWriter) gcontroller.ActionContext + type IApiDataContext interface + Data func() interface{} + Err func() *exception.Exception + Version func() string