lobby2/api/types.go
Adam Štrauch 5dd38b7f18
All checks were successful
Tests / test (push) Successful in 20s
Prometheus service discovery
2024-12-19 21:10:34 +01:00

17 lines
325 B
Go

package api
import "gitea.ceperka.net/rosti/lobby2/nodes"
type Message struct {
Message string `json:"message"`
}
type params struct {
Labels nodes.Labels `json:"labels"`
KV nodes.KV `json:"kv"`
}
type prometheusDiscovery struct {
Labels nodes.Labels `json:"labels"`
Targets []string `json:"targets"`
}