All checks were successful
continuous-integration/drone/push Build is passing
22 lines
373 B
Go
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
|
|
}
|