Versions in this module Expand all Collapse all v0 v0.0.1 Jul 9, 2023 Changes in this version + func Certificate(host ...string) (tls.Certificate, *x509.CertPool, error) + func CertificateQuic() (tls.Certificate, error) + func GenTLSConfig(addr ...string) (*tls.Config, error) + func LoadTLSConfig(certFile, keyFile string) (*tls.Config, error) + type ClientAuth struct + func (auth *ClientAuth) Set(s string) error + func (auth *ClientAuth) String() string + func (auth *ClientAuth) UnmarshalJSON(b []byte) error + func (auth *ClientAuth) UnmarshalYAML(u func(interface{}) error) error + func (auth ClientAuth) MarshalJSON() ([]byte, error) + func (auth ClientAuth) MarshalYAML() (interface{}, error) + type Config struct + func (t *Config) UnmarshalJSON(b []byte) (err error) + func (t *Config) UnmarshalYAML(u func(interface{}) error) (err error) + func (t Config) MarshalJSON() ([]byte, error) + func (t Config) MarshalYAML() (interface{}, error) + type ConfigFiles struct + Certificates []struct{ ... } + ClientAuth ClientAuth + ClientCAFiles []string + RootCAFiles []string