Versions in this module Expand all Collapse all v1 v1.3.1 Feb 6, 2024 v1.3.0 Jul 11, 2023 Changes in this version + const ContentTypeGeoJSON + const ContentTypeHTML + const ContentTypeJSON + const ContentTypeOpenAPI + const ContentTypeSVG + const ContentTypeText + const ErrCodeCollectionNotFound + const ErrCodeFeatureNotFound + const ErrMsgCollectionAccess + const ErrMsgCollectionNotFound + const ErrMsgDataReadError + const ErrMsgDataWriteError + const ErrMsgEncoding + const ErrMsgFeatureNotFound + const ErrMsgFunctionAccess + const ErrMsgFunctionNotFound + const ErrMsgInvalidParameterValue + const ErrMsgInvalidQuery + const ErrMsgLoadCollections + const ErrMsgLoadFunctions + const ErrMsgNoDataRead + const ErrMsgRequestTimeout + const FormatHTML + const FormatJSON + const FormatSVG + const FormatText + const GeoJSONFeatureCollection + const OrderByDirA + const OrderByDirD + const OrderByDirSep + const ParamBbox + const ParamBboxCrs + const ParamCrs + const ParamFilter + const ParamFilterCrs + const ParamGroupBy + const ParamLimit + const ParamOffset + const ParamOrderBy + const ParamPrecision + const ParamProperties + const ParamSortBy + const ParamTransform + const RelAlt + const RelConformance + const RelData + const RelFunctions + const RelItems + const RelSelf + const RelServiceDesc + const RelServiceDoc + const RootPageName + const TagAPI + const TagCollections + const TagConformance + const TagFunctions + const TagItems + const TitleAsHTML + const TitleAsJSON + const TitleDataJSON + const TitleDocument + const TitleFeatuuresGeoJSON + const TitleMetadata + var BboxSchema openapi3.Schema = openapi3.Schema + var CollectionInfoSchema openapi3.Schema = openapi3.Schema + var CollectionsInfoSchema openapi3.Schema = openapi3.Schema + var ConformanceSchema openapi3.Schema = openapi3.Schema + var ExtentSchema openapi3.Schema = openapi3.Schema + var FunctionInfoSchema openapi3.Schema = openapi3.Schema + var FunctionSummarySchema openapi3.Schema = openapi3.Schema + var FunctionsInfoSchema openapi3.Schema = openapi3.Schema + var LinkSchema openapi3.Schema = openapi3.Schema + var ParamReservedNames = []string + var ParamReservedNamesMap = makeSet(ParamReservedNames) + var ParameterSchema openapi3.Schema = openapi3.Schema + var PropertySchema openapi3.Schema = openapi3.Schema + var RootInfoSchema openapi3.Schema = openapi3.Schema + func GetOpenAPIContent(urlBase string) *openapi3.Swagger + func IsParameterReservedName(name string) bool + func PathCollection(name string) string + func PathCollectionItems(name string) string + func PathFunction(name string) string + func PathFunctionItems(name string) string + func PathItem(name string, fid string) string + func PathStripFormat(path string) string + func RequestedFormat(r *http.Request) string + func URLQuery(url *url.URL) string + type Bbox struct + Crs string + Extent []float64 + type CollectionInfo struct + Crs []string + Description string + Extent *Extent + GeometryType *string + Links []*Link + Name string + Properties []*Property + Title string + URLItemsHTML string + URLItemsJSON string + URLMetadataHTML string + URLMetadataJSON string + func NewCollectionInfo(tbl *data.Table) *CollectionInfo + type CollectionsInfo struct + Collections []*CollectionInfo + Links []*Link + func NewCollectionsInfo(tables []*data.Table) *CollectionsInfo + type Conformance struct + ConformsTo []string + func GetConformance() *Conformance + type Extent struct + Spatial *Bbox + type FeatureCollectionRaw struct + Features []*json.RawMessage + Links []*Link + NumberMatched uint + NumberReturned uint + TimeStamp string + Type string + func NewFeatureCollectionInfo(featureJSON []string) *FeatureCollectionRaw + type FunctionInfo struct + Description string + Function *data.Function + Links []*Link + Name string + Parameters []*Parameter + Properties []*Property + func NewFunctionInfo(fn *data.Function) *FunctionInfo + type FunctionSummary struct + Description string + Function *data.Function + Links []*Link + Name string + URLItemsHTML string + URLItemsJSON string + URLMetadataHTML string + URLMetadataJSON string + func NewFunctionSummary(fn *data.Function) *FunctionSummary + type FunctionsInfo struct + Functions []*FunctionSummary + Links []*Link + func NewFunctionsInfo(fns []*data.Function) *FunctionsInfo + type Link struct + Href string + Rel string + Title string + Type string + func NewLink(href string, rel string, conType string, title string) *Link + type NameValMap map[string]string + type Parameter struct + Default string + Description string + Name string + Type string + func FunctionParameters(fn *data.Function) []*Parameter + type Property struct + Description string + Name string + Type string + func FunctionProperties(fn *data.Function) []*Property + func TableProperties(tbl *data.Table) []*Property + type RequestParam struct + Bbox *data.Extent + BboxCrs int + Crs int + Filter string + FilterCrs int + GroupBy []string + Limit int + Offset int + Precision int + Properties []string + SortBy []data.Sorting + TransformFuns []data.TransformFunction + Values NameValMap + type RootInfo struct + Description string + Links []*Link + Title string + func NewRootInfo(conf *conf.Config) *RootInfo