package
Version:
v0.0.0-...-3ee0207
Opens a new window with list of versions in this module.
Published: May 10, 2024
License: GPL-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func RegisterMinerTimeSeriesRoutes(router *gin.Engine)
TODO: separate the response logic into controller layer
type MinerControlRequest struct {
MacAddresses []string `json:"mac_addresses"`
Mode miner_domain.Mode `json:"mode"`
}
type MinerTimeSeriesRequest struct {
MacAddress string `json:"mac_address"`
Interval int `json:"interval"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.