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 ¶
func NewClient(client networkservice.NetworkServiceClient, opts ...Option) networkservice.NetworkServiceClient
NewClient - returns a connect chain element
Types ¶
type Option ¶
type Option func(*retryClient)
Option configuress retry.Client instance.
func WithInterval ¶
WithInterval sets delay interval before next try.
func WithTryTimeout ¶
WithTryTimeout sets timeout for the request and close operations try.
Click to show internal directories.
Click to hide internal directories.