Versions in this module Expand all Collapse all v1 v1.54.1 Sep 11, 2026 v1.54.0 Sep 11, 2026 Changes in this version + type Config struct + Address string + CORS config.CORSConfig + Component string + Name string + Timeouts config.HTTPDefaults + type Registration struct + Closers []io.Closer + ServiceTokenHeader string + SetupRoutes func(mux *http.ServeMux) + type Server struct + func New(cfg Config) *Server + func (s *Server) Address() string + func (s *Server) Handler() http.Handler + func (s *Server) Logger() *logrus.Entry + func (s *Server) Name() string + func (s *Server) Serve() error + func (s *Server) Shutdown(ctx context.Context) error