hypertext

package
v0.0.0-...-080225d Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2025 License: Unlicense Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TemplateRoutes

func TemplateRoutes(mux *http.ServeMux, receiver RoutesReceiver)

Types

type IndexData

type IndexData struct {
	Name string
}

type RoutesReceiver

type RoutesReceiver interface {
	Index(_ context.Context) IndexData
}

type Server

type Server struct{}

func (*Server) Index

func (srv *Server) Index(_ context.Context) IndexData

Jump to

Keyboard shortcuts

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