Versions in this module Expand all Collapse all v1 v1.0.0 Feb 15, 2026 Changes in this version + var DefaultDenyPorts = []string + func ValidatePort(port int) error + type Config struct + AccessLog bool + AllowRange PortRange + CertPath string + DenyPorts []PortRange + DialTimeout int + IdleTimeout int + KeyPath string + ListenAddr string + ReadHeaderTimeout int + SelfSigned bool + Verbose bool + WriteTimeout int + func DefaultConfig() *Config + func (c *Config) IsPortAllowed(port int) bool + func (c *Config) LoadFromEnv() + func (c *Config) Validate() error + type PortRange struct + End int + Start int + func ParsePortRange(s string) (PortRange, error) + func ParsePortRanges(s string) ([]PortRange, error) + func (pr PortRange) Contains(port int) bool + func (pr PortRange) String() string v1.0.0-fix Feb 15, 2026