grpcutil

package
v0.11.0-alpha1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2019 License: MIT Imports: 2 Imported by: 1

Documentation

Overview

Package grpc provides utility functions for use with gRPC.

Index

Constants

View Source
const (
	// MaximumMessageSize specifies the maximum message size that we'll allow
	// over IPC channels.
	MaximumMessageSize = 25 * 1024 * 1024
)

Variables

This section is empty.

Functions

func PeelAwayRPCErrorLayer

func PeelAwayRPCErrorLayer(err error) error

PeelAwayRPCErrorLayer peels away any intermediate RPC error layer from an error returned by gRPC-based code and constructs an error object using the underlying error message. If this unwrapping fails, the argument is returned directly.

Types

This section is empty.

Jump to

Keyboard shortcuts

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