Documentation ¶
Index ¶
- Variables
- func ApiHandler(handler func(ctx iris.Context, param JsonMap) (result interface{}, err error)) func(ctx iris.Context)
- func ApiRecover(ctx iris.Context)
- func Md5bin(bin []byte) string
- func NewApp() *iris.Application
- func Throttle(options ...ThrottleOption) func(ctx iris.Context)
- type AppError
- type JsonMap
- type JsonValue
- type NormalError
- type ThrottleOption
Constants ¶
This section is empty.
Variables ¶
View Source
var App *iris.Application
Functions ¶
func ApiHandler ¶
func ApiRecover ¶
func ApiRecover(ctx iris.Context)
Types ¶
type NormalError ¶
type NormalError struct {
// contains filtered or unexported fields
}
func (*NormalError) Code ¶
func (e *NormalError) Code() int
func (*NormalError) Error ¶
func (e *NormalError) Error() string
func (*NormalError) Parent ¶
func (e *NormalError) Parent() error
Click to show internal directories.
Click to hide internal directories.