Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadTLSConfig ¶
LoadTLSConfig creates TLS configuration for given crtificate files. It assumes X.509 keypair and sets minimum 1.2 minimum TLS version. All fields of CertFiles are optional. If the field is missing, the corresponding certificate will not be loaded.
Types ¶
Click to show internal directories.
Click to hide internal directories.