Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DependencySet = wire.NewSet( cobrasentry.NewLoggerFactory, config.NewDefaultDatabaseEnvironmentConfig, NewGlobalDatabaseCredentials, config.NewDefaultRedisEnvironmentConfig, globaldb.DependencySet, auditdb.DependencySet, auditdb.NewReadHandle, analyticredis.NewHandle, meter.DependencySet, usage.DependencySet, wire.Bind(new(usage.ReadCounterStore), new(*meter.ReadStoreRedis)), wire.Bind(new(usage.MeterAuditDBStore), new(*meter.AuditDBReadStore)), )
Functions ¶
func NewCountCollector ¶
func NewCountCollector(pool *db.Pool, databaseCredentials *config.DatabaseCredentials, auditDatabaseCredentials *config.AuditDatabaseCredentials, redisPool *redis.Pool, credentials *config.AnalyticRedisCredentials, hub *sentry.Hub) *usage.CountCollector
func NewGlobalDatabaseCredentials ¶
func NewGlobalDatabaseCredentials(dbCredentials *config.DatabaseCredentials) *config.GlobalDatabaseCredentialsEnvironmentConfig
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.