util

package
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RetryResourceResponse added in v0.0.23

func RetryResourceResponse[T any](operationWithResourceResponse operationWithResourceResponseData[T]) (T, *http.Response, error)

For requests that return resource info, a response and a error This function combines that into one struct so the retry library can be used and then flattens before returning

func RetryResponse added in v0.0.23

func RetryResponse(operationWithData backoff.OperationWithData[*http.Response]) (*http.Response, error)

For requests that just return a response and an error

Types

type Client

type Client struct {
	V1             *tabular.Client
	V2             *tabularv2.APIClient
	OrganizationId *string
}

Jump to

Keyboard shortcuts

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