grpc

package
v0.0.0-...-0d68426 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListenAndServe

func ListenAndServe(grpcServer *grpc.Server, otherHandler http.Handler) error

ListenAndServe starts grpc server

func NewGRPCConn

func NewGRPCConn(
	address string,
	serverCAFileName string,
	clientCertFileName string,
	clientKeyFileName string,
) (*grpc.ClientConn, error)

NewGRPCConn is a helper wrapper around grpc.Dial.

func NewServer

func NewServer() (*grpc.Server, *client.CredstoreClient, error)

NewServer creates a new GRPC server stub with credstore auth (if requested).

Types

This section is empty.

Jump to

Keyboard shortcuts

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