Versions in this module Expand all Collapse all v0 v0.0.6 Mar 15, 2026 Changes in this version + const InterfaceDefault + const InterfaceFieldName + const PortDefault + const PortFieldName + const ShutdownTimeoutDefault + const ShutdownTimeoutFieldName + var Component = &component.Component + type Config struct + Interface string + Port uint16 + ShutdownTimeout time.Duration + func Configuration(config *Config, configurator configurator.Configurator) *Config + func NewConfig() *Config + type Middleware interface + Middleware func(next http.Handler) http.Handler + type MiddlewareFunc func(next http.Handler) http.Handler + func (m MiddlewareFunc) Middleware(next http.Handler) http.Handler + type Router interface + Connect func(pattern string, h http.HandlerFunc) + Delete func(pattern string, h http.HandlerFunc) + Get func(pattern string, h http.HandlerFunc) + Group func(fn func(r Router)) + Handle func(pattern string, h http.Handler) + HandleFunc func(pattern string, h http.HandlerFunc) + Head func(pattern string, h http.HandlerFunc) + Method func(method, pattern string, h http.Handler) + MethodFunc func(method, pattern string, h http.HandlerFunc) + MethodNotAllowed func(h http.HandlerFunc) + Mount func(pattern string, h http.Handler) + NotFound func(h http.HandlerFunc) + Options func(pattern string, h http.HandlerFunc) + Patch func(pattern string, h http.HandlerFunc) + Post func(pattern string, h http.HandlerFunc) + Put func(pattern string, h http.HandlerFunc) + Route func(pattern string, fn func(r Router)) + Trace func(pattern string, h http.HandlerFunc) + Use func(middlewares ...Middleware) + type Server interface + SetRouter func(router Router) + func NewServer(config *Config, logger logger.Logger) Server