Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultTLSConfig = &tls.Config{ ClientAuth: tls.NoClientCert, ClientCAs: nil, InsecureSkipVerify: true, }
Functions ¶
This section is empty.
Types ¶
type X509KeyPair ¶
type X509KeyPair struct {
// Key x509 private key file path or PEM decoded string
Key string
// Crt x509 public key file path or PEM decoded string
Crt string
// CA certification
CA string
// contains filtered or unexported fields
}
func (*X509KeyPair) Config ¶
func (c *X509KeyPair) Config() *tls.Config
func (*X509KeyPair) Init ¶
func (c *X509KeyPair) Init() error
func (*X509KeyPair) IsZero ¶
func (c *X509KeyPair) IsZero() bool
Click to show internal directories.
Click to hide internal directories.