Go
Configuration
Configure authentication, HTTP clients, retries, and timeouts
client := client.NewClient(
option.WithToken("<token>"),
option.WithBaseURL("https://api.insion.co"),
option.WithHTTPClient(&http.Client{Timeout: 30 * time.Second}),
option.WithMaxAttempts(2),
)Options passed to NewClient apply to every request. Pass the same option values after a method request to override one call. Use WithoutRetries() to disable retries. Prefer context.WithTimeout for individual call deadlines.