Inputs

Here is a list of the built-in dependencies that can be used right away as input parameters:

Type
Maps To

Current MVC Application

Current Iris Context

ctx.Request().Header

net.ParseIP(ctx.RemoteAddr())

ctx.GetStatusCode() int

ctx.GetErr() error

string,

int, int8, int16, int32, int64,

uint, uint8, uint16, uint32, uint64,

float, float32, float64,

bool,

Struct

Request Bodyarrow-up-right of JSON, XML, YAML, Form, URL Query, Protobuf, MsgPack

Last updated

Was this helpful?