Initial commit

This commit is contained in:
2022-08-12 14:49:16 +02:00
commit b9b0c10e1c
22 changed files with 3737 additions and 0 deletions

18
handlers/handlers.go Normal file
View File

@@ -0,0 +1,18 @@
package handlers
import (
"git.coopgo.io/coopgo-platform/fleets/storage"
"github.com/spf13/viper"
)
type FleetsHandler struct {
config *viper.Viper
storage storage.Storage
}
func NewHandler(cfg *viper.Viper, storage storage.Storage) FleetsHandler {
return FleetsHandler{
config: cfg,
storage: storage,
}
}