grpcutil

package
v0.0.0-...-70e73ec Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorEqual

func ErrorEqual(err1, err2 error) bool

ErrorEqual checks two grpc errors for equality. We check structural equality, not pointer equality as you would get by comparing the error interface.

func IsClosedConnection

func IsClosedConnection(err error) bool

IsClosedConnection returns true if err is an error produced by gRPC on closed connections.

Types

This section is empty.

Jump to

Keyboard shortcuts

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