Discovery Nats automate

This commit is contained in:
mr
2024-08-22 13:11:21 +02:00
parent ce34345914
commit 0bfe87793b
8 changed files with 227 additions and 13 deletions

View File

@@ -34,8 +34,7 @@ func (s State) String() string {
"some things boils in here, i'm probably a teapot", "dead"}[s]
}
type API struct {
}
type API struct{}
func (a *API) GetState() (State, int, error) {
// Check if the database is up