Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(e *echo.Echo)

Register routes with echo

Types

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