serverhelpers

package
v0.0.0-...-b53bf3c Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2017 License: Apache-2.0 Imports: 17 Imported by: 0

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