Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadClientTLSCredentials ¶
func LoadClientTLSCredentials(cacertPath string) (credentials.TransportCredentials, error)
LoadClientTLSCredentials creates client TransportCredentials with a path to a Certificate of the ca the server certificate got issued from
func LoadServerTLSCredentials ¶
func LoadServerTLSCredentials(certPath, keyPath string) (credentials.TransportCredentials, error)
LoadServerTLSCredentials creates server TransportCredentials with a certificate and keyfile
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.