Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
config holds the common attributes that can be passed to a Last.Backend client on initialization.
type TLSConfig ¶
type TLSConfig struct { // Server should be accessed without verifying the TLS certificate. For testing only. Insecure bool // Override for the server name passed to the server for SNI and used to verify certificates.. ServerName string // Server requires TLS client certificate authentication CertFile string // Server requires TLS client certificate authentication KeyFile string // Trusted root certificates for server CAFile string // Bytes of the PEM-encoded server trusted root certificates. Supersedes CAFile. CAData []byte // Bytes of the PEM-encoded client certificate. Supersedes CertFile. CertData []byte // Bytes of the PEM-encoded client key. Supersedes KeyFile. KeyData []byte }
TLSConfig contains settings to enable transport layer security
Click to show internal directories.
Click to hide internal directories.