Back to

Package handlers

Latest Go to latest

The latest major version is .

Published: Aug 7, 2020 | License: MIT | Module:


func Register

func Register(e *echo.Echo)

Register routes with echo

type ErrorResponse

type ErrorResponse struct {
	Message string `json:"error"`

ErrorResponse holds an error message

type Handler

type Handler struct {

Handler represents the structure of our resource

func (*Handler) Healthz

func (h *Handler) Healthz(c echo.Context) error

Healthz is for load-balancer/Kubernetes health checks

func (*Handler) Root

func (h *Handler) Root(c echo.Context) error

Root returns the welcome message

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier