handler

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CQL2JSON = "cql2-json"
View Source
var CQLJSON = "cql-json"
View Source
var CQLText = "cql2-text"

Functions

func Catalog

func Catalog(c *fiber.Ctx) error

func Collection

func Collection(c *fiber.Ctx) error

Collection returns details of a specific collection GET /collections/:collectionId/

func Collections

func Collections(c *fiber.Ctx) error

Collections returns a list of collections managed by this STAC server GET /collections/

func Conformance

func Conformance(c *fiber.Ctx) error

func CreateItems

func CreateItems(c *fiber.Ctx) error

CreateItems creates a new collection in the database POST /collections/:collectionId/items

func DeleteCollection

func DeleteCollection(c *fiber.Ctx) error

DeleteCollection creates a new collection in the database DELETE /collections

func DeleteItem

func DeleteItem(c *fiber.Ctx) error

DeleteItem deletes an item from the database DELETE /collections/:collectionId/items/:itemId

func Healthz

func Healthz(c *fiber.Ctx) error

Collection returns details of a specific collection

func Item

func Item(c *fiber.Ctx) error

Item returns details of a specific item GET /collections/:collectionId/items/:itemId

func Items

func Items(c *fiber.Ctx) error

Items returns a list of items in a collection GET /collections/:collectionId/items

func ModifyCollection

func ModifyCollection(c *fiber.Ctx) error

ModifyCollection creates a new collection in the database POST /collections PUT /collections

func PatchItem

func PatchItem(c *fiber.Ctx) error

PatchItem updates an item with only the specific fields provided by request body PATCH /collections/:collectionId/items/:itemId

func Queryables

func Queryables(c *fiber.Ctx) error
func Search(c *fiber.Ctx) error

Item returns details of a specific item GET /search POST /search

func StacBrowserConfig

func StacBrowserConfig(c *fiber.Ctx) error

func UpdateItem

func UpdateItem(c *fiber.Ctx) error

UpdateItem updates an existing item with the provided JSON PUT /collections/:collectionId/items/:itemId

Types

This section is empty.

Jump to

Keyboard shortcuts

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