package
1.101.9
Repository: https://github.com/vonage/gosrvlib.git
Documentation: pkg.go.dev

# Functions

New creates a new client instance.
WithHTTPClient overrides the default HTTP client.
WithPingTimeout overrides the default ping timeout.
WithRetryAttempts overrides the default HTTP client.
WithRetryDelay sets the delay to apply after the first failed attempt.
WithTimeout overrides the default request timeout.

# Constants

Reopened indicated the incident has been reopened.
Resolved indicates the incident has been resolved.
Triggered indicates a new incident.

# Structs

Client represents the config options required by this client.
CustomIncidentImpactRegistrationRequest defines the request for Custom Incident Impact Registration.
CustomMetricImpactRegistrationRequest defines the request for Custom Metric Impact Registration.
DeployRegistrationRequest defines the request for Deploy Registration.
ManualChangeRequest defines the request for Manual Change.

# Interfaces

HTTPClient contains the function to perform the actual HTTP request.

# Type aliases

IncidentType defines the valid values for an Incident Type.
Option is the interface that allows to set client options.