rpc

package
Version: v0.0.0-...-a69e935 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MaxRecvMsgSize is the largest acceptable RPC message size.
	MaxRecvMsgSize = 256 * 1024 * 1024 // 256MB
)

Variables

This section is empty.

Functions

func NewAuroraBridgeInbounds

func NewAuroraBridgeInbounds(
	httpPort int,
	grpcPort int,
	mux *nethttp.ServeMux) []transport.Inbound

NewAuroraBridgeInbounds creates both HTTP and gRPC inbounds for the given ports

func NewInbounds

func NewInbounds(
	httpPort int,
	grpcPort int,
	mux *nethttp.ServeMux) []transport.Inbound

NewInbounds creates both HTTP and gRPC inbounds for the given ports

func NewTransport

func NewTransport() *grpc.Transport

NewTransport returns a new transport, using the default transport layer.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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