xgrpc

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2022 License: Apache-2.0 Imports: 5 Imported by: 8

Documentation

Index

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL