http

package
v1.0.23 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StatusBadRequest

func StatusBadRequest(w http.ResponseWriter, err error)

func StatusConflict

func StatusConflict(w http.ResponseWriter, err error)

func StatusCreated

func StatusCreated(w http.ResponseWriter, content interface{})

func StatusForbidden

func StatusForbidden(w http.ResponseWriter, err error)

func StatusInternalServerError

func StatusInternalServerError(w http.ResponseWriter, err error)

func StatusMethodNotAllowed

func StatusMethodNotAllowed(w http.ResponseWriter, err error)

func StatusNoContent

func StatusNoContent(w http.ResponseWriter)

func StatusNotFound

func StatusNotFound(w http.ResponseWriter, err error)

func StatusOK

func StatusOK(w http.ResponseWriter, content interface{})

func StatusUnauthorized

func StatusUnauthorized(w http.ResponseWriter, err error)

func StatusUnprocessableEntity

func StatusUnprocessableEntity(w http.ResponseWriter, err error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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