app

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClusterReqValidate

func ClusterReqValidate(c echo.Context, req model.ClusterReq) error

func NodeReqValidate

func NodeReqValidate(c echo.Context, req model.NodeReq) error

func Send

func Send(c echo.Context, httpCode int, json interface{}) error

func SendMessage

func SendMessage(c echo.Context, httpCode int, msg string) error

func Validate

func Validate(c echo.Context, params []string) error

Types

type Status

type Status struct {
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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