Initial open source release

This commit is contained in:
Ronni Skansing
2025-08-21 16:14:09 +02:00
commit 11cf01f08e
488 changed files with 97180 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
package server
// StartupMessage is the status of the server startup
type StartupMessage struct {
Success bool
Error error
}
// NewStartupMessage creates a new StartupMessage
func NewStartupMessage(
success bool,
err error,
) StartupMessage {
return StartupMessage{
Success: success,
Error: err,
}
}
func NewStartupMessageChannel() chan StartupMessage {
return make(chan StartupMessage, 1)
}