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

# Functions

NewClient creates a new instance of Client with a given Population Type API URL.
NewWithHealthClient creates a new instance of Client, reusing the URL and Clienter from the provided health check client.

# Structs

Area is an area model with ID and Label.
AreaType is an area type model with ID and Label.
No description provided by the author
No description provided by the author
Client is a Cantabular Population Types API client.
Dimension is an area-type model with ID and Label.
No description provided by the author
No description provided by the author
ErrorResp represents an error response containing a list of errors.
No description provided by the author
No description provided by the author
GetAreasResponse is the response object for GET /areas.
No description provided by the author
GetAreasResponse is the response object for GET /areas.
No description provided by the author
GetAreaTypeParentsResponse is the response object for GET /areas.
No description provided by the author
GetAreaTypesResponse is the response object for GET /area-types.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetDimensionsResponse is the response object for GetDimensions.
GetParentAreaCountInput holds the required fields for GetParentAreaCount.
No description provided by the author
GetPopulationTypeMetadataInput is a model with auth token and population type.
GetPopulationTypeMetadataResponse model with contain the metadata for poulation type.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author