fastutil

package
v0.0.0-...-a6c80b9 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorResponse

func ErrorResponse(ctx *fasthttp.RequestCtx, err error)

func RequireQueryArg

func RequireQueryArg(ctx *fasthttp.RequestCtx, arg string) ([]byte, error)

func RequireQueryInt

func RequireQueryInt(ctx *fasthttp.RequestCtx, arg string) (int, error)

func RequireQueryString

func RequireQueryString(ctx *fasthttp.RequestCtx, arg string) (int, error)

func ResponseBadError

func ResponseBadError(ctx *fasthttp.RequestCtx, err error)

func ResponseBadMsg

func ResponseBadMsg(ctx *fasthttp.RequestCtx, msg string)

func ResponseCodeError

func ResponseCodeError(ctx *fasthttp.RequestCtx, code int, err error)

func ResponseCodeMsg

func ResponseCodeMsg(ctx *fasthttp.RequestCtx, code int, msg string)

func ResponseData

func ResponseData(ctx *fasthttp.RequestCtx, code int, data interface{})

func ResponseOK

func ResponseOK(ctx *fasthttp.RequestCtx)

func ResponseSuccess

func ResponseSuccess(ctx *fasthttp.RequestCtx, data interface{})

func ResponseTemplate

func ResponseTemplate(ctx *fasthttp.RequestCtx, tpl *template.Template, data interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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