Versions in this module Expand all Collapse all v1 v1.0.0 Aug 15, 2023 Changes in this version + const HttpStatusOk + const HttpStatusServerErr + func ErrorJson(ctx iris.Context, e error) + func ErrorString(ctx iris.Context, err error) + func SuccessJson(ctx iris.Context, data ...interface{}) + func SuccessString(ctx iris.Context, res string) + func Unauthorized(ctx iris.Context) + type Exception struct + Code int + Message string + Reason string + func ThrowErr(code int, msg ...string) *Exception + func (e *Exception) Error() string