Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Categories ¶
type Error ¶
type Error struct { Message string `json:"message"` Locations []Location `json:"locations"` Path []string `json:"path"` }
func (*Error) StatusCode ¶ added in v2.9.1
StatusCode returns the status code defined at the begining of the Error message. For example: a status 404 is extracted from '404 Not Found: dataset not loaded in this server'. If no status code is provided, then a value of 502 bad gateway is returned.
type Meta ¶ added in v2.206.3
type Meta struct {
ONSVariable ONS_Variable `json:"ONS_Variable"`
}
type Node ¶
type Node struct { Name string `json:"name"` Description string `json:"description"` Code string `json:"code"` Label string `json:"label"` Categories Categories `json:"categories"` MapFrom []Variables `json:"mapFrom"` Variable Variable `json:"variable"` IsDirectSourceOf Variables `json:"isDirectSourceOf"` IsSourceOf Variables `json:"isSourceOf"` Meta Meta `json:"meta"` }
type ONS_Variable ¶ added in v2.206.3
type ONS_Variable struct {
GeographyHierarchyOrder string `json:"Geography_Hierarchy_Order"`
}
Click to show internal directories.
Click to hide internal directories.