Documentation
¶
Index ¶
- func GetEnvVar(name string) string
- func LoadTLSCerts(certPath, keyPath, caPath string) (*x509.CertPool, *tls.Certificate, error)
- func LoadTLSClientCreds(certPath, keyPath, caPath, serverName string) (credentials.TransportCredentials, error)
- func LoadTLSServerCreds(certPath, keyPath, caPath string) (credentials.TransportCredentials, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadTLSCerts ¶ added in v1.2.3
func LoadTLSClientCreds ¶ added in v1.2.3
func LoadTLSClientCreds(certPath, keyPath, caPath, serverName string) (credentials.TransportCredentials, error)
func LoadTLSServerCreds ¶ added in v1.2.3
func LoadTLSServerCreds(certPath, keyPath, caPath string) (credentials.TransportCredentials, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.