Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CORSOptions ¶
func CORSOptions(ctx *fasthttp.RequestCtx)
func JsonMessageResult ¶
func JsonMessageResult(ctx *fasthttp.RequestCtx, code int, r string)
JsonMessageResult writing text message without indent
func JsonNoIndent ¶
func JsonNoIndent(ctx *fasthttp.RequestCtx, code int, result interface{})
JsonNoIndent marshaling and writing message without indent
func OutputJson
deprecated
func OutputJson(ctx *fasthttp.RequestCtx, code int, result interface{})
OutputJson does the same thing that JsonNoIndent does
Deprecated: In previous versions this method added indentation, this is no longer relevant, use JsonNoIndent now
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.