Documentation ¶
Index ¶
Constants ¶
View Source
const ( AuthMethod authMethod = "" Authenticated authenticated = false )
Variables ¶
This section is empty.
Functions ¶
func BasicAuthFunc ¶
func LoadTLSForGRPC ¶
func LoadTLSForGRPC(tlsCfg *config.TLSConfig) (credentials.TransportCredentials, error)
LoadTLSForGRPC will process TLS config and return TLS credentials for the gRPC server. If ClientCAFile and ValidateClient are set, then the server will be configured for mutual TLS.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.