Versions in this module Expand all Collapse all v0 v0.55.2 Apr 12, 2025 v0.55.1 Apr 12, 2025 Changes in this version + type HTTPServer struct + func New(srv *http.Server) *HTTPServer + func (s *HTTPServer) Addr() net.Addr + func (s *HTTPServer) SetHandler(path string, handler http.Handler) + func (s *HTTPServer) Start(ctx context.Context) error + func (s *HTTPServer) Use(m ...Middleware) + func (s *HTTPServer) Wait() <-chan error + type Middleware interface + Handle func(http.Handler) http.Handler + type MiddlewareFunc func(http.Handler) http.Handler + func (m MiddlewareFunc) Handle(h http.Handler) http.Handler + type NullServer struct + func (s *NullServer) Addr() net.Addr + func (s *NullServer) SetHandler(string, http.Handler) + func (s *NullServer) Start(ctx context.Context) error + func (s *NullServer) Wait() <-chan error + type Service interface + Addr func() net.Addr + SetHandler func(string, http.Handler)