gowebutils

package module
v0.0.0-...-b0cf394 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2017 License: MIT Imports: 6 Imported by: 1

README

gowebutils

Utilities for web services written in go.

Documentation

Index

Constants

View Source
const MaxRequestSize = 1048576 * 5

Variables

This section is empty.

Functions

func PrepareRequestBody

func PrepareRequestBody(r *http.Request) ([]byte, error)

func SendError

func SendError(w http.ResponseWriter, err error)

func SendErrorMessages

func SendErrorMessages(w http.ResponseWriter, errorMessages []string)

func SendErrors

func SendErrors(w http.ResponseWriter, errors []error)

func UnmarshalRequestBody

func UnmarshalRequestBody(r *http.Request, v interface{}) 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