Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FailedToAddCAPemError = errors.New("failed to add server ca's certificate") FailedToLoadSystemCredentialsError = errors.New("failed to load system credentials") )
Functions ¶
func LoadSystemCredentials ¶
func LoadSystemCredentials() (credentials.TransportCredentials, error)
LoadSystemCredentials loads the system credentials
func LoadTLSCredentials ¶
func LoadTLSCredentials(pemServerCAPath string) ( credentials.TransportCredentials, error, )
LoadTLSCredentials loads the TLS credentials
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.