output

package
v1.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2024 License: MIT Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL