♻️ Moved to dealer

This commit is contained in:
2024-07-16 10:53:02 +08:00
parent c67a38f4bb
commit 6ff637212f
13 changed files with 77 additions and 146 deletions

View File

@@ -42,10 +42,8 @@ func main() {
}
// Connect other services
if err := gap.Register(); err != nil {
if err := gap.RegisterService(); err != nil {
log.Fatal().Err(err).Msg("An error occurred when connecting to consul...")
} else {
gap.NewHyperClient()
}
// Configure timed tasks