station

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Station

type Station struct{}

func (*Station) Bind

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

@Summary Station Status @Description Get Observer station status including system information, memory usage, disk usage, CPU usage, ADC information, geophone information, and location information. This API requires a valid JWT token if the server is in restricted mode. @Router /station [get] @Produce application/json @Security ApiKeyAuth @Param Authorization header string false "Bearer JWT token, only required when the server is in restricted mode."

func (*Station) GetApiName

func (s *Station) GetApiName() string

Jump to

Keyboard shortcuts

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