Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientSecureDialOption ¶
func ClientSecureDialOption(cert, key, ca, name string) (grpc.DialOption, error)
ClientSecureDialOption returns the gRPC dial option to use for the given client connection. It is either using TLS, or Insecure if nothing is set.
func TLSClientConfig ¶
TLSClientConfig returns the TLS config to use for a client to connect to a server with the provided parameters.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.