retry

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package retry provides functions to check if a gRPC error is retryable.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServiceIsUnavailable

func ServiceIsUnavailable(err error) (ret bool)

ServiceIsUnavailable checks if the error is a grpc status with code Unavailable. In the special case of an authentication handshake failure, false is returned to prevent further retries.

Types

This section is empty.

Jump to

Keyboard shortcuts

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