grpcrunner

package
v0.0.0-...-a64ae20 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2018 License: Apache-2.0 Imports: 5 Imported by: 9

Documentation

Overview

Package grpcrunner simplifies starting GRPC servers with ifrit.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	logger lager.Logger,
	listenAddr string,
	registerFunc func(*grpc.Server),
	options ...grpc.ServerOption,
) ifrit.Runner

New creates a new runner for a GRPC server that can be started with ifrit. The registerFunc can be used to register your GPRC services with the running server. The options are passed through directly to the server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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