Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Application ¶
type Application struct {
Config *config.Config
// Core infrastructure
DB *store.Store
MetricsRecorder core.Recorder
MetricsCache core.Cache[int64]
MetricsCacheCloser func() error
UserCache core.Cache[models.User]
UserCacheCloser func() error
ClientCountCache core.Cache[int64]
ClientCountCacheCloser func() error
RateLimitRedisClient *redis.Client
// Services
AuditService *services.AuditService
Router *gin.Engine
Server *http.Server
TemplatesFS embed.FS
// contains filtered or unexported fields
}
Application holds all initialized components
Click to show internal directories.
Click to hide internal directories.