Documentation
¶
Index ¶
Constants ¶
View Source
const HttpStatusOk = 200
View Source
const HttpStatusServerErr = 500
Variables ¶
This section is empty.
Functions ¶
func ErrorString ¶
func ErrorString(ctx iris.Context, err error)
func SuccessJson ¶
func SuccessJson(ctx iris.Context, data ...interface{})
func SuccessString ¶
func SuccessString(ctx iris.Context, res string)
func Unauthorized ¶
func Unauthorized(ctx iris.Context)
Types ¶
Click to show internal directories.
Click to hide internal directories.