Documentation ¶
Index ¶
- type Api
- func (c *Api) Abort(httpCode int, msg string, errorCode int)
- func (c *Api) Abort401(msg string, errorCode int)
- func (c *Api) Fail(msg string)
- func (c *Api) FailWithData(msg string, data interface{})
- func (c *Api) Out(success bool, msg string, data interface{})
- func (c *Api) Success(msg string)
- func (c *Api) SuccessWithData(msg string, data interface{})
- type Apier
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.