# Functions
AddPemToCertPool adds PEM-encoded certs to a cert pool.
ClientKeepaliveOptions returns gRPC keepalive options for clients.
ExtractCertificateHashFromContext extracts the hash of the certificate from the given context.
GetCredentialSupport returns the singleton CredentialSupport instance.
No description provided by the author
NewBindingInspector returns a BindingInspector according to whether mutualTLS is configured or not, and according to a function that extracts TLS certificate hashes from proto messages.
NewClientConnectionWithAddress Returns a new grpc.ClientConn to the given address.
NewConnectionProducer creates a new ConnectionProducer with given endpoints and connection factory.
NewGRPCClient creates a new implementation of GRPCClient given an address and client configuration.
NewGRPCServer creates a new implementation of a GRPCServer given a listen address.
NewGRPCServerFromListener creates a new implementation of a GRPCServer given an existing net.Listener instance using default keepalive.
NewServerTransportCredentials returns a new initialized grpc/credentials.TransportCredentials.
ServerKeepaliveOptions returns gRPC keepalive options for server.
# Variables
No description provided by the author
default connection timeout.
Default peer keepalive options.
strong TLS cipher suites.
No description provided by the author
Max send and receive bytes for grpc clients and servers.
Configuration defaults.
No description provided by the author
No description provided by the author
# Structs
CASupport type manages certificate authorities scoped by channel.
ClientConfig defines the parameters for configuring a GRPCClient instance.
CredentialSupport type manages credentials used for gRPC client connections.
No description provided by the author
No description provided by the author
KeepaliveOptions is used to set the gRPC keepalive settings for both clients and servers.
SecureOptions defines the security parameters (e.g.
ServerConfig defines the parameters for configuring a GRPCServer instance.
# Interfaces
ConnectionProducer produces connections out of a set of predefined endpoints.
# Type aliases
BindingInspector receives as parameters a gRPC context and an Envelope, and verifies whether the message contains an appropriate binding to the context.
CertHashExtractor extracts a certificate from a proto.Message message.
ConnectionFactory creates a connection to a certain endpoint.