httpserver

package
v0.0.0-...-16966e3 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2025 License: AGPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Static fs.FS
)

Functions

func ListenAndServe

func ListenAndServe(ctx context.Context, services *Services)

func Shutdown

func Shutdown(ctx context.Context) error

Types

type MessageDisplayer

type MessageDisplayer interface {
	Messages() []string
}

type Services

type Services struct {
	Pictrs *pictrs.Client
}

type Template

type Template struct{}

func (*Template) Render

func (t *Template) Render(w io.Writer, name string, data any, c echo.Context) error

Directories

Path Synopsis
routes

Jump to

Keyboard shortcuts

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