server

package
v0.0.0-...-6b8cf79 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HomeHandler

func HomeHandler(c echo.Context) error

func IndexHandler

func IndexHandler(c echo.Context) error

func LoginHandler

func LoginHandler(c echo.Context) error

func Render

func Render(ctx echo.Context, statusCode int, t templ.Component) error

This custom Render replaces Echo's echo.Context.Render() with templ's templ.Component.Render().

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func New

func New(address string, db db.Database, staticfs embed.FS) *Server

func (*Server) Start

func (s *Server) Start()

Directories

Path Synopsis
middleware

Jump to

Keyboard shortcuts

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