Versions in this module Expand all Collapse all v0 v0.5.0 Apr 6, 2023 Changes in this version + func ListenAndServe(addr string, handler http.Handler, config *Config) error + type Config struct + MaxHeaderBytes int + ReadHeaderTimeout time.Duration + ReadTimeout time.Duration + SrvCb func(*http.Server) + TLS *TLSConfig + WriteTimeout time.Duration + func (c *Config) IsTLS() bool + type TLSConfig struct + Cert string + Key string