Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTLSConfig ¶
func NewTLSConfig(options *ClientOptions) (*tls.Config, error)
Types ¶
type ClientOptions ¶
type ClientOptions struct { PKCS12 PKCS12Config `json:"pkcs12" yaml:"pkcs12"` TLSSkipVerify bool `json:"-" yaml:"-"` TLSMinVersion uint16 `json:"-" yaml:"-"` TLSMaxVersion uint16 `json:"-" yaml:"-"` }
func DefaultClientOptions ¶
func DefaultClientOptions() *ClientOptions
type PKCS12Config ¶
Click to show internal directories.
Click to hide internal directories.