feat: add working watchdog cycle
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
package api
|
||||
|
||||
import (
|
||||
"eden-server/internal/runtime"
|
||||
"eden-server/internal/utility"
|
||||
"fmt"
|
||||
"log/slog"
|
||||
|
||||
@@ -22,7 +22,7 @@ type RespObj struct {
|
||||
// All error messages from slog must have an error field with the golang error
|
||||
// See bottom the the kickoff function for details
|
||||
|
||||
func KickoffApi(logger *slog.Logger, env runtime.Environment, db *gorm.DB) {
|
||||
func KickoffApi(logger *slog.Logger, env utility.Environment, db *gorm.DB) {
|
||||
gin.SetMode(gin.ReleaseMode)
|
||||
|
||||
// For a nice looking logger:
|
||||
|
||||
Reference in New Issue
Block a user