Versions in this module Expand all Collapse all v1 v1.7.28 Jan 13, 2021 Changes in this version + var CipherSuites = map[string]uint16 + var MinVersion = map[string]uint16 + func MatchDomain(domain string, certDomain string) bool + func SortTLSPerEntryPoints(configurations []*Configuration, ...) + type Certificate struct + CertFile FileOrContent + KeyFile FileOrContent + func (c *Certificate) AppendCertificate(certs map[string]map[string]*tls.Certificate, ep string) error + type CertificateStore struct + CertCache *cache.Cache + DefaultCertificate *tls.Certificate + DynamicCerts *safe.Safe + SniStrict bool + StaticCerts *safe.Safe + func NewCertificateStore() *CertificateStore + func (c CertificateStore) ContainsCertificates() bool + func (c CertificateStore) GetAllDomains() []string + func (c CertificateStore) GetBestCertificate(clientHello *tls.ClientHelloInfo) *tls.Certificate + func (c CertificateStore) ResetCache() + type Certificates []Certificate + func (c *Certificates) CreateTLSConfig(entryPointName string) (*tls.Config, error) + func (c *Certificates) Set(value string) error + func (c *Certificates) String() string + func (c *Certificates) Type() string + type ClientCA struct + Files FilesOrContents + Optional bool + type Configuration struct + Certificate *Certificate + EntryPoints []string + type FileOrContent string + func (f FileOrContent) IsPath() bool + func (f FileOrContent) Read() ([]byte, error) + func (f FileOrContent) String() string + type FilesOrContents []FileOrContent + func (r *FilesOrContents) Get() interface{} + func (r *FilesOrContents) Set(value string) error + func (r *FilesOrContents) SetValue(val interface{}) + func (r *FilesOrContents) String() string + func (r *FilesOrContents) Type() string + type TLS struct + Certificates Certificates + CipherSuites []string + ClientCA ClientCA + ClientCAFiles FilesOrContents + DefaultCertificate *Certificate + MinVersion string + SniStrict bool