Documentation ¶
Index ¶
- type Api
- type ApiBase
- func (api *ApiBase) Error(msg string, err error) z.Map
- func (api *ApiBase) ErrorResult(msg string, error error, r *ghttp.Request) error
- func (api *ApiBase) GetToken(r *ghttp.Request) string
- func (api *ApiBase) Ok(data interface{}) z.Map
- func (api *ApiBase) OkResult(data interface{}, r *ghttp.Request) error
- func (api *ApiBase) Result(data interface{}, err error, r *ghttp.Request) error
- func (api *ApiBase) Result2(result *z.Result, r *ghttp.Request) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.