Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IterateEndpoints ¶ added in v0.22.0
IterateEndpoints iterates over subsections ["0":"N") (N - "num" value) of "grpc" section of c, wrap them into Config and passes to f.
Panics if N is not a positive number.
Types ¶
type Config ¶ added in v0.22.0
Config is a wrapper over the config section which provides access to gRPC server configurations.
type TLSConfig ¶
type TLSConfig struct {
// contains filtered or unexported fields
}
TLSConfig is a wrapper over the config section which provides access to TLS configurations of the gRPC server.
func (TLSConfig) CertificateFile ¶
CertificateFile returns value of "certificate" config parameter.
Panics if value is not a non-empty string.
Click to show internal directories.
Click to hide internal directories.