package
2.1.4+incompatible
Repository: https://github.com/financial-times/draft-annotations-api.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewUPPAnnotationsAPI initializes UPPAnnotationsAPI by given http client, the url of the UPP public endpoint for getting published annotations and UPP API key.
NewUPPError initializes UPPError.

# Constants

No description provided by the author
No description provided by the author
NoAnnotationsMsg is error message used when there are no processed annotations.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UPPBadRequestMsg is error message used when UPP annotations endpoint returns bad request.
UPPNotFoundMsg is error message used when UPP annotations endpoint returns not found.
UPPServiceUnavailableMsg is error message used when UPP annotations endpoint returns http error code different from bad request and not found.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
UPPAnnotationsAPI retrieves published annotations from UPP.
UPPError encapsulates error information for errors originating from calls to UPP annotations endpoint.

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author