Versions in this module Expand all Collapse all v0 v0.1.0 Jun 26, 2026 Changes in this version + type Config struct + Addr string + IdleTimeout time.Duration + Logger *slog.Logger + Name string + ReadHeaderTimeout time.Duration + ReadTimeout time.Duration + ShutdownTimeout time.Duration + WriteTimeout time.Duration + type Server struct + func New(cfg Config, h http.Handler) *Server + func (s *Server) Addr() string + func (s *Server) Name() string + func (s *Server) Serve(lis net.Listener) error + func (s *Server) Start(ctx context.Context) error + func (s *Server) Stop(ctx context.Context) error