Documentation
¶
Index ¶
Constants ¶
View Source
const ( XForwardedFor = "X-Forwarded-For" ContentType = "Content-Type" )
View Source
const (
IdLength = 32
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { Ip string RequestId string ContentType string Path string Method string UserAgent string HeaderMap headermap.HeaderMap BodyMap collection.StringMap HandleResponse bool Header headermap.HeaderMap StatusCode int Body []byte }
func NewRequestContext ¶
func NewRequestContext(ctx *fasthttp.RequestCtx) *Context
func (Context) BuildMapping ¶
func (*Context) ResponseJSON ¶
Click to show internal directories.
Click to hide internal directories.