Versions in this module Expand all Collapse all v0 v0.1.0 Feb 26, 2026 Changes in this version + func GenerateSelfSigned(cfg SelfSignedConfig) (*tls.Config, string, error) + func LoadCertificate(certFile, keyFile string) (*tls.Config, error) + func NewAutoTLS(cfg AutoTLSConfig) (*tls.Config, *autocert.Manager, error) + type AutoTLSConfig struct + CacheDir string + Domain string + type SelfSignedConfig struct + CertDir string + Hosts []string + ValidFor time.Duration