response

package
v0.0.0-...-395d67b Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(c echo.Context, err interface{}) error

Error returns the error

func ErrorWithInfo

func ErrorWithInfo(c echo.Context, info string, err interface{}) error

ErrorWithInfo returns error with information

func ErrorWithStatus

func ErrorWithStatus(c echo.Context, err interface{}, info interface{}) error

ErrorWithStatus handles all errors

func Success

func Success(c echo.Context, data interface{}) error

func SuccessCreated

func SuccessCreated(c echo.Context, data interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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