response

package
v0.0.0-...-c9dffe9 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package response provides webserver's response.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BadRequestWithMessage

func BadRequestWithMessage(c echo.Context, message string) error

func BadRequestWithMessageWithJSON

func BadRequestWithMessageWithJSON(c echo.Context, message string, content interface{}) error

func BadRequestWithMessagef

func BadRequestWithMessagef(c echo.Context, format string, args ...interface{}) error

func CustomHTTPErrorHandler

func CustomHTTPErrorHandler(err error, c echo.Context)

func Debug

func Debug() bool

func GetRuntimeLocation

func GetRuntimeLocation() string

func StatusOKNoContent

func StatusOKNoContent(c echo.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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