server

package
v0.0.0-...-1fe42cc Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2026 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(svcs *Services) *http.Server

Types

type ErrorHandler

type ErrorHandler func(http.ResponseWriter, *http.Request, error)

func WebErrorHandler

func WebErrorHandler(logger *slog.Logger, debug bool) ErrorHandler

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type Services

type Services struct {
	Logger      *slog.Logger
	Config      env.Config
	Assets      *vite.Assets
	Generator   *namemyserver.Generator
	PairStore   namemyserver.PairStore
	BucketStore namemyserver.BucketStore
}

Directories

Path Synopsis
Package api provides primitives to interact with the openapi HTTP API.
Package api provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

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