responses

package
v0.0.0-...-4290cae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CollectionResponse

type CollectionResponse struct {
	Status  int        `json:"status"`
	Message string     `json:"message"`
	Data    *fiber.Map `json:"data"`
}

type Context

type Context struct {
	Returned int `json:"returned"`
	Limit    int `json:"limit"`
}

type SearchResponse

type SearchResponse struct {
	Status   int        `json:"status"`
	Message  string     `json:"message"`
	Type     string     `json:"type"`
	Context  Context    `json:"context"`
	Features []StacItem `json:"features"`
}

type StacItem

type StacItem struct {
	Id             string             `json:"id,omitempty"`
	Type           string             `json:"type,omitempty"`
	Collection     string             `json:"collection,omitempty"`
	StacVersion    string             `json:"stac_version,omitempty"`
	StacExtensions []string           `json:"stac_extensions,omitempty"`
	Bbox           pq.Float64Array    `gorm:"type:float[]"`
	Geometry       models.GeoJSONPoly `json:"geometry,omitempty"`
	Properties     interface{}        `json:"properties,omitempty"`
	Assets         interface{}        `json:"assets,omitempty"`
	Links          []interface{}      `json:"links,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL