serverhelpers

package
v0.0.0-...-a91942d Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2019 License: Apache-2.0 Imports: 18 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ListenAddress is the grpc listen address
	ListenAddress = flag.String("listen", "", "GRPC listen address")
)

Functions

func ListenAndServe

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

ListenAndServe starts grpc server

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