Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssetHandler ¶
AssetHandler returns an http.Handler that will serve files from the Assets embed.FS.
func StartAdmin ¶
func StartAdmin(globalCfg *config.GlobalConfig, ctrl *controlling.Controller)
StartAdmin starts serving administration API requests.
func StartMetrics ¶
func StartMetrics(cfg *config.HTTPConfig)
StartMetrics starts serving metrics for prometheus server scrape.
Types ¶
type DeviceTemplateDownloader ¶
type DeviceTemplateDownloader struct {
// contains filtered or unexported fields
}
func NewDeviceTemplateDownloader ¶
func NewDeviceTemplateDownloader(target *models.SimulationTarget) *DeviceTemplateDownloader
func (*DeviceTemplateDownloader) DownloadModels ¶
func (d *DeviceTemplateDownloader) DownloadModels() ([]*models.DeviceModel, error)
Click to show internal directories.
Click to hide internal directories.