Documentation ¶
Overview ¶
Package deftls.
This package provides some useful function for configuring tls.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
func UseCertFile ¶
UseCertFile option, use certfilePath and keyfilePath as certificate.
func UseCertPem ¶
UseCertPem option, use certpem and keypem as certificate.
func UseCertSelfSigned ¶
func UseCertSelfSigned() Option
UseCertSelfSigned option, use auto-generated self-signed certificate.
Click to show internal directories.
Click to hide internal directories.