grpcutil

package
v0.3.0-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStatusFromError

func GetStatusFromError(err error) codes.Code

GetStatusFromError Get an gRPC status from a domain or custom error

func RespondError

func RespondError(err error) error

RespondError Generate a domain error with gRPC format if available

Types

This section is empty.

Jump to

Keyboard shortcuts

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