package
3.11.1+incompatible
Repository: https://github.com/safetyculture/iauditor-exporter.git
Documentation: pkg.go.dev

# Functions

DefaultBackoff provides a default callback for Backoff which will perform exponential backoff based on the attempt number and limited by the provided minimum and maximum durations.
DefaultRetryPolicy provides a default callback for CheckForRetry.
GetTestClient creates a new test apiClient.
NewClient creates a new instance of the Client.
NewGetAccountsActivityLogRequest build a request for AccountsActivityLog for now it serves the purposes only for inspection.deleted.
OptAddTLSCert adds a certificate at the supplied path to the cert pool.
OptSetInsecureTLS sets whether TLS certs should be verified.
OptSetProxy sets the proxy URL to use for API requests.
OptSetTimeout sets the timeout for the request.

# Constants

Headers that are sent with each request when making api calls.
Headers that are sent with each request when making api calls.
Headers that are sent with each request when making api calls.
Headers that are sent with each request when making api calls.
Headers that are sent with each request when making api calls.
Headers that are sent with each request when making api calls.

# Structs

Client is used to with iAuditor API's.
FeedMetadata is a representation of the metadata returned when fetching a feed.
GetAccountsActivityLogRequestParams contains fields required to make a post request to activity log history api.
GetAccountsActivityLogResponse is the response from activity log history api.
GetFeedParams is a list of all parameters we can set when fetching a feed.
GetFeedRequest has all the data needed to make a request to get a feed.
GetFeedResponse is a representation of the data returned when fetching a feed.
GetMediaRequest has all the data needed to make a request to get a media.
GetMediaResponse is a representation of the data returned when fetching media.
Inspection represents some properties present in an inspection.
InspectionReportExportCompletionResponse represents the response of report export completion status.
ListInspectionsParams is a list of all parameters we can set when fetching inspections.
ListInspectionsResponse represents the response of listing inspections.
WhoAmIResponse represents the response of WhoAmI.

# Interfaces

HTTPDoer executes http requests.

# Type aliases

Backoff specifies a policy for how long to wait between retries.
CheckForRetry specifies a policy for handling retries.
Header is used to represent name of a header.
Opt is an option to configure the Client.