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) RegisterModule ¶
func (s *Station) RegisterModule(rg *gin.RouterGroup, options *app.ServerOptions)
@Summary AnyShake Observer station status @Description Get Observer station status including system information, memory usage, disk usage, CPU usage, ADC information, geophone information, and location information @Router /station [get] @Produce application/json @Success 200 {object} response.HttpResponse{data=System} "Successfully read station status"
type System ¶
type System struct { Timestamp int64 `json:"timestamp"` Uptime int64 `json:"uptime"` Station stationModel `json:"station"` Memory memoryModel `json:"memory"` Disk diskModel `json:"disk"` ADC adcModel `json:"adc"` OS osModel `json:"os"` CPU cpuModel `json:"cpu"` Geophone geophoneModel `json:"geophone"` Location positionModel `json:"position"` Status *publisher.System `json:"status"` }
Click to show internal directories.
Click to hide internal directories.