Documentation
¶
Overview ¶
Package tls implements the functions, types, and interfaces for the module.
Package tls implements the functions, types, and interfaces for the module.
Index ¶
- func NewClientTLSConfig(cfg *tlsv1.TLSConfig, options ...Option) (*tls.Config, error)
- func NewClientTLSConfigFromFile(key string, cert string, ca string, options ...Option) (*tls.Config, error)
- func NewClientTLSConfigFromPem(key []byte, cert []byte, ca []byte, options ...Option) (*tls.Config, error)
- func NewServerTLSConfig(cfg *tlsv1.TLSConfig, options ...Option) (*tls.Config, error)
- func NewServerTLSConfigFromFile(keyFile, certFile, caFile string, options ...Option) (*tls.Config, error)
- func NewServerTLSConfigFromPem(key []byte, cert []byte, ca []byte, options ...Option) (*tls.Config, error)
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientTLSConfig ¶
func NewServerTLSConfig ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.