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

# Functions

New creates a new instance of Client with a given dimension-search api url.
NewWithHealthClient creates a new instance of Client, reusing the URL and Clienter from the provided health check client.

# Structs

Client is a search api client that can be used to make requests to the server.
Config represents configuration required to conduct a search request.
ErrInvalidDimensionSearchAPIResponse is returned when the dimension-search api does not respond with a valid status.
Item represents a single hierarchy item returned by the search api.
Match defines the start and end character numbers that the item matched with.
Matches represent matches from the input query against the returned item.
Model represents a model returned by the search api.