respond

package
v0.0.0-...-106859a Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Created

func Created(response http.ResponseWriter, resourceID string, resource interface{})

func Forbidden

func Forbidden(response http.ResponseWriter)

func InternalServerError

func InternalServerError(response http.ResponseWriter)

func InvalidRequestParameters

func InvalidRequestParameters(response http.ResponseWriter, details interface{})

func MalformedRequest

func MalformedRequest(response http.ResponseWriter)

func OK

func OK(response http.ResponseWriter, data interface{})

func UnsupportedContentType

func UnsupportedContentType(response http.ResponseWriter)

Types

This section is empty.

Jump to

Keyboard shortcuts

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