handler

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoSubThing

func DoSubThing() error

func DoThing

func DoThing() error

func Error

func Error(err error, c echo.Context)

func ThirdPartyError

func ThirdPartyError() error

Types

type HomeHandler

type HomeHandler struct {
}

func NewHomeHandler

func NewHomeHandler() (h *HomeHandler, err error)

func (*HomeHandler) GetRandomString

func (h *HomeHandler) GetRandomString(c echo.Context) error

func (*HomeHandler) RegisterRoutes

func (h *HomeHandler) RegisterRoutes(g *echo.Group)

RegisterRoutes registers all the subroutes for the home handler to manage

func (*HomeHandler) RenderHomepage

func (h *HomeHandler) RenderHomepage(c echo.Context) error

Jump to

Keyboard shortcuts

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