requests

package
v0.0.0-...-235c51f Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindBody

func BindBody(c echo.Context, dest interface{}) tasks.LoadFunc

BindBody binds the request body to the given object

func BindInt64Param

func BindInt64Param(c echo.Context, paramName string, val *int64) tasks.LoadFunc

BindInt64Param gets an int64 from the echo request

func BindStringParam

func BindStringParam(c echo.Context, paramName string, val *string) tasks.LoadFunc

BindStringParam gets a string from the echo request

func GenericCheck

func GenericCheck(fn func() error) tasks.LoadFunc

GenericCheck just calls the given check func and if an error is returned will return a StatusBadRequest error

Types

This section is empty.

Jump to

Keyboard shortcuts

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