api

package
v0.0.0-...-59b6e81 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BadRequest

func BadRequest(w http.ResponseWriter)

func Bind

func Bind(r *http.Request, v interface{}) error

Bind unmarshall the http.Request's body to v v should be a pointer

func Forbidden

func Forbidden(w http.ResponseWriter)

func InternalServerError

func InternalServerError(w http.ResponseWriter)

func NotFound

func NotFound(w http.ResponseWriter)

func SuccessResponse

func SuccessResponse(w http.ResponseWriter, v interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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