xgrpc

package
v0.0.0-...-9649366 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

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