http

package
v0.0.29 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Health

func Health(logger *slog.Logger) func(w http.ResponseWriter, request *http.Request)

Types

type HTTPServer

type HTTPServer struct {
	Router *chi.Mux
	// contains filtered or unexported fields
}

func New

func New(registry *prometheus.Registry, logger *slog.Logger, config config.HTTPConfig, rawConfig []byte) (*HTTPServer, error)

func (*HTTPServer) Start

func (h *HTTPServer) Start() error

func (*HTTPServer) Stop

func (h *HTTPServer) Stop() error

Jump to

Keyboard shortcuts

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