handlers

package
v0.0.0-...-d9d3c97 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct{}

func (*Handler) AddRoutes

func (h *Handler) AddRoutes(s *server.Server)

func (*Handler) AddTemplates

func (h *Handler) AddTemplates(s *server.Server)

func (*Handler) Hello

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

func (*Handler) Msg

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

func (*Handler) Root

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

Root returns the welcome message.

type IHandler

type IHandler interface {
	AddRoutes(s *server.Server)
	AddTemplates(s *server.Server)
}

func NewHandler

func NewHandler() IHandler

Jump to

Keyboard shortcuts

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