Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
func Handler(filterClient FilterClient, datasetClient DatasetClient) func(filter, filterFlex http.Handler) http.Handler
Handler is middleware that a accepts a filter and dataset client that returns either the filter or filterFlex handler dependent on the type of dataset
Types ¶
type DatasetClient ¶
type DatasetClient interface {
Get(ctx context.Context, userAuthToken, serviceAuthToken, collectionID, datasetID string) (m dataset.DatasetDetails, err error)
}
DatasetClient is an interface with methods required for a dataset client
Click to show internal directories.
Click to hide internal directories.