retry

package
v1.14.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 7 Imported by: 6

Documentation

Overview

Package retry provides a networkservice.NetworksrviceClient wrapper that allows to retries requests and closes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

NewClient - returns a connect chain element

Types

type Option

type Option func(*retryClient)

Option configuress retry.Client instance.

func WithInterval

func WithInterval(interval time.Duration) Option

WithInterval sets delay interval before next try.

func WithTryTimeout

func WithTryTimeout(tryTimeout time.Duration) Option

WithTryTimeout sets timeout for the request and close operations try.

Jump to

Keyboard shortcuts

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