Documentation ¶
Overview ¶
Package tls provides implementation of Go API for tls certificate provider
Package tls provides implementation of Go API for tls certificate provider
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Client = tls.Client Dial = tls.Dial DialWithDialer = tls.DialWithDialer )
Functions ¶
Types ¶
type Config ¶
func New ¶
NewTLSConfig returns a *tls.Config struct or error This function read TLS configuration and initialize *tls.Config struct. This function initialize TLS configuration, for example the CA certificate and key to start TLS server. Server and CA Certificate, and private key will read from a file from the file path defined in environment variable.
func NewClientConfig ¶
type Option ¶
type Option func(*credentials) error
func WithInsecureSkipVerify ¶ added in v1.0.2
func WithTLSConfig ¶
Click to show internal directories.
Click to hide internal directories.