rpc

package
v0.0.0-...-c0686e8 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2022 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.

Jump to

Keyboard shortcuts

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