Documentation
¶
Index ¶
Constants ¶
View Source
const ( // 1Password API endpoint for Business Plan // See https://developer.1password.com/docs/events-api/reference/ APIEndpoint = "https://events.1password.com/api/v1/auditevents" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*config)
func WithDuration ¶
WithDuration sets the duration of logs to load. Default is 10 minutes.
func WithHTTPClient ¶
func WithHTTPClient(httpClient interfaces.HTTPClient) Option
WithHTTPClient sets the HTTP client to send requests. Default is http.DefaultClient. This option is mainly for testing.
func WithMaxPages ¶
WithMaxPages sets the maximum number of pages to load. If 0, it loads all pages. Default is 0.
Click to show internal directories.
Click to hide internal directories.