Documentation ¶
Index ¶
- func NewClientCredentials(serverName string, caCertPEMBlock []byte, clientCertPEMBlock []byte, ...) (credentials.TransportCredentials, error)
- func NewServer(tc credentials.TransportCredentials) *grpc.Server
- func NewServerCredentials(caCertPEMBlock []byte, serverCertPEMBlock []byte, serverKeyPEMBlock []byte) (credentials.TransportCredentials, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientCredentials ¶
func NewClientCredentials( serverName string, caCertPEMBlock []byte, clientCertPEMBlock []byte, clientKeyPEMBlock []byte, ) (credentials.TransportCredentials, error)
NewClientCredentials returns Client Credentials
func NewServer ¶
func NewServer(tc credentials.TransportCredentials) *grpc.Server
NewServer returns a new grpc Server with provided options
func NewServerCredentials ¶
func NewServerCredentials( caCertPEMBlock []byte, serverCertPEMBlock []byte, serverKeyPEMBlock []byte, ) (credentials.TransportCredentials, error)
NewServerCredentials returns Server Credentials
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.