server with basic hot reload

This commit is contained in:
2025-11-30 10:09:53 +02:00
parent f1ed3c977a
commit 44e92bcfef
14 changed files with 700 additions and 18 deletions

20
internal/server/status.go Normal file
View File

@@ -0,0 +1,20 @@
package server
type StatusID int
const (
StatusStopped StatusID = iota
StatusStarting
StatusOK
StatusError
StatusInitializing
)
type Status struct {
ID StatusID
Err error
}
func (s Status) Error() string {
return s.Err.Error()
}