Files
vctp2/server/handler/handler.go
Nathan Coad ab01c0fc4d
All checks were successful
continuous-integration/drone/push Build is passing
enhance database logging
2026-01-16 14:28:26 +11:00

22 lines
373 B
Go

package handler
import (
"log/slog"
"vctp/db"
"vctp/internal/secrets"
"vctp/internal/settings"
"vctp/internal/vcenter"
)
// Handler handles requests.
type Handler struct {
Logger *slog.Logger
Database db.Database
BuildTime string
SHA1Ver string
GoVersion string
VcCreds *vcenter.VcenterLogin
Secret *secrets.Secrets
Settings *settings.Settings
}