Documentation
¶
Index ¶
- func WriteBody(ctx context.Context, w http.ResponseWriter, entity interface{}, status int)
- type API
- func (api *API) BuildFullHierarchy() http.Handler
- func (api *API) GetDatasetDimension() http.Handler
- func (api *API) GetDatasetDimensionByIndex() http.Handler
- func (api *API) GetDatasetDimensionCodes() http.Handler
- func (api *API) GetDatasetDimensions() http.Handler
- func (api *API) GetFilterDimensions() http.Handler
- func (api *API) GetHierarchy() http.Handler
- func (api *API) GetHierarchyForCode() http.Handler
- func (api *API) Handler() http.Handler
- type Authenticator
- type DataStore
- type DimensionResponse
- type GetDimensionsResponse
- type SimpleEntity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
API provides a struct to wrap the api around
func (*API) BuildFullHierarchy ¶
func (*API) GetDatasetDimension ¶
func (*API) GetDatasetDimensionByIndex ¶
func (*API) GetDatasetDimensionCodes ¶
func (*API) GetDatasetDimensions ¶
func (*API) GetFilterDimensions ¶
func (*API) GetHierarchy ¶
func (*API) GetHierarchyForCode ¶
type DimensionResponse ¶
type GetDimensionsResponse ¶
type GetDimensionsResponse struct {
Dimensions []string `json:"dimensions,omitempty"`
}
type SimpleEntity ¶
type SimpleEntity struct {
Message string
}
Click to show internal directories.
Click to hide internal directories.