Service validation

This commit is contained in:
2024-10-24 23:26:24 +08:00
parent 1b5b2c42e5
commit aa67bd0b8f
3 changed files with 52 additions and 7 deletions

View File

@@ -4,6 +4,7 @@ import (
"fmt"
"git.solsynth.dev/hypernet/nexus/pkg/internal/auth"
"git.solsynth.dev/hypernet/nexus/pkg/internal/database"
"git.solsynth.dev/hypernet/nexus/pkg/internal/directory"
"git.solsynth.dev/hypernet/nexus/pkg/internal/http"
"git.solsynth.dev/hypernet/nexus/pkg/internal/kv"
"git.solsynth.dev/hypernet/nexus/pkg/nex/sec"
@@ -93,6 +94,9 @@ func main() {
log.Info().Msg("Internal jwt private key loaded.")
}
// Post-boot actions
directory.ValidateServices()
// Server
go server.NewServer().Listen()