Documentation ¶ Index ¶ Constants func NewHTTP3server(handler http.Handler, acmeCfg *acme.Config, cfg *Config, log *zap.Logger) (servers.InternalServer[any], error) type Config type Server func (s *Server) Serve(mdwr map[string]common.Middleware, order []string) error func (s *Server) Server() any func (s *Server) Stop() Constants ¶ View Source const ACMETLS1Protocol string = "acme-tls/1" Variables ¶ This section is empty. Functions ¶ func NewHTTP3server ¶ func NewHTTP3server(handler http.Handler, acmeCfg *acme.Config, cfg *Config, log *zap.Logger) (servers.InternalServer[any], error) Types ¶ type Config ¶ type Config struct { // Address is the address to listen on. Address string `mapstructure:"address"` // Key defined private server key. Key string `mapstructure:"key"` // Cert is https certificate. Cert string `mapstructure:"cert"` } type Server ¶ type Server struct { // contains filtered or unexported fields } func (*Server) Serve ¶ func (s *Server) Serve(mdwr map[string]common.Middleware, order []string) error func (*Server) Server ¶ func (s *Server) Server() any func (*Server) Stop ¶ func (s *Server) Stop() Source Files ¶ View all Source files config.go http3.go Click to show internal directories. Click to hide internal directories.