inventory

package
v0.0.0-...-9ff4ced Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Inventory

type Inventory struct{}

func (*Inventory) Bind

func (i *Inventory) Bind(rg *gin.RouterGroup, jwtHandler *jwt.GinJWTMiddleware, options *services.Options) error

@Summary Station Inventory @Description Get SeisComP XML inventory, which contains meta data of the station. This API requires a valid JWT token if the server is in restricted mode. @Router /inventory [get] @Produce application/json, application/xml @Security ApiKeyAuth @Param format query string false "Format of the inventory, available options are `json` or `xml`", default is `xml` if not specified." @Param Authorization header string false "Bearer JWT token, only required when the server is in restricted mode."

func (*Inventory) GetApiName

func (h *Inventory) GetApiName() string

Jump to

Keyboard shortcuts

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