miniseed

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MiniSEED

type MiniSEED struct{}

func (*MiniSEED) Bind

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

@Summary MiniSEED Data @Description This API returns a list of MiniSEED files or exports a specific MiniSEED file. This API requires a valid JWT token if the server is in restricted mode. @Router /miniseed [post] @Produce application/json @Produce application/octet-stream @Security ApiKeyAuth @Param action formData string true "Action to be performed, Use `list` to get list of MiniSEED files, `export` to export a specific MiniSEED file." @Param name formData string false "A valid filename of the MiniSEED file to be exported, only required when action is `export`." @Param Authorization header string false "Bearer JWT token, only required when the server is in restricted mode."

func (*MiniSEED) GetApiName

func (m *MiniSEED) GetApiName() string

Jump to

Keyboard shortcuts

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