grpc

package
v0.58.2 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2026 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertContextStatus

func ConvertContextStatus(err error) error

ConvertContextStatus checks whether error is a context-related gRPC status. If so, corresponding context error is returned. Otherwise, err is returned.

func IsUnavailable

func IsUnavailable(err error) bool

IsUnavailable checks whether err corresponds to UNAVAILABLE gRPC status.

Types

type MemBufferSliceError

type MemBufferSliceError mem.BufferSlice

MemBufferSliceError allows to pass mem.BufferSlice as error.

func (MemBufferSliceError) Error

func (MemBufferSliceError) Error() string

Error implements built-in [error] interface.

Jump to

Keyboard shortcuts

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