grpcutils

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2020 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGRPCServer

func NewGRPCServer(tlsDisable bool, tlsCert, tlsKey string) *grpc.Server

NewGRPCServer returns grpc.Server objects, optionally configured for TLS.

func RunGRPCServer

func RunGRPCServer(grpcAddress string, grpcServer *grpc.Server)

RunGRPCServer listens on the given address and serves the given *grpc.Server, and blocks until done.

Types

This section is empty.

Jump to

Keyboard shortcuts

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