httpsvr

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: May 10, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Access

func Access(logger *slog.Logger) func(http.Handler) http.Handler

Access is a middleware to log incoming HTTP requests.

func NewServeMux

func NewServeMux(c *controller.Controller, logger *slog.Logger) *http.ServeMux

NewServeMux creates a new HTTP request multiplexer and registers routes with access logging middleware.

Types

This section is empty.

Jump to

Keyboard shortcuts

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