actions

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AlgorithmHandler

func AlgorithmHandler(c echo.Context) error

AlgorithmHandler function

func CurrentConfig

func CurrentConfig() echo.MiddlewareFunc

CurrentConfig middleware adds the list of current configuration to context

func ErrorResponse

func ErrorResponse(c echo.Context, err error, code int) error

ErrorResponse function

func HomeHandler

func HomeHandler(c echo.Context) error

HomeHandler func

func ServerHeader

func ServerHeader() echo.MiddlewareFunc

ServerHeader middleware adds a `Server` header to the response.

func VersionHandler

func VersionHandler(c echo.Context) error

VersionHandler func

Types

type Errs

type Errs struct {
	Error    bool     `json:"error"`
	Messages []string `json:"messages"`
}

Errs object

Jump to

Keyboard shortcuts

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