# Packages
No description provided by the author
# Functions
AddPemToCertPool adds PEM-encoded certs to a cert pool.
ClientKeepaliveOptions returns gRPC keepalive options for clients.
ExtractCertificateFromContext returns the TLS certificate (if applicable) from the given context of a gRPC stream.
ExtractCertificateHashFromContext extracts the hash of the certificate from the given context.
ExtractRawCertificateFromContext returns the raw TLS certificate (if applicable) from the given context of a gRPC stream.
GetCredentialSupport returns the singleton CredentialSupport instance.
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.
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.
No description provided by the author
NewServerTransportCredentials returns a new initialized grpc/credentials.TransportCredentials.
ServerKeepaliveOptions returns gRPC keepalive options for server.
# Variables
default connection timeout.
Default peer keepalive options.
strong TLS cipher suites.
No description provided by the author
No description provided by the author
Max send and receive bytes for grpc clients and servers.
Configuration defaults.
# Structs
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.
No description provided by the author
SecureOptions defines the security parameters (e.g.
ServerConfig defines the parameters for configuring a GRPCServer instance.
No description provided by the author
# 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.