package
0.21.0
Repository: https://github.com/onsdigital/dp-areas-api.git
Documentation: pkg.go.dev

# Functions

New creates a new instance of Client with a given areas api url.
NewAreaAPIResponse creates an error response, optionally adding body to e when status is 404.
NewWithHealthClient creates a new instance of Client, reusing the URL and Clienter from the provided health check client.
No description provided by the author

# Constants

No description provided by the author
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
AreaDetails represents a response area model from the areas api.
Client is a areas api client which can be used to make requests to the server.
ErrInvalidAreaAPIResponse is returned when the area api does not respond with a valid status.
Relation represents a response relation model from area api.