api

package
v0.0.0-...-8de788b Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: LGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HTTPHandler

func HTTPHandler(logLevel *slog.LevelVar) http.Handler

func RequestLoggerHandler

func RequestLoggerHandler(handler http.Handler, logger log.Logger) http.Handler

RequestLoggerHandler returns a http handler to ensure requests are syphoned into the writer

func StartAdminServer

func StartAdminServer(addr string, logLevel *slog.LevelVar) (string, func(), error)

func StartMetricsServer

func StartMetricsServer(addr string) (string, func(), error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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