Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DependencySet = wire.NewSet( NewRunnableFactory, NewRunner, )
Functions ¶
func NewRunnableFactory ¶
func NewRunnableFactory( pool *db.Pool, globalDBCredentials *config.GlobalDatabaseCredentialsEnvironmentConfig, databaseCfg *config.DatabaseEnvironmentConfig, logFactory *log.Factory, clock clock.Clock, appContextResolver AppContextResolver, userServiceFactory UserServiceFactory, ) backgroundjob.RunnableFactory
func NewRunner ¶
func NewRunner(ctx context.Context, loggerFactory *log.Factory, runnableFactory backgroundjob.RunnableFactory) *backgroundjob.Runner
Types ¶
type AppContextResolver ¶
type Runnable ¶
type Runnable struct { Store *Store AppContextResolver AppContextResolver UserServiceFactory UserServiceFactory Logger RunnableLogger }
type RunnableLogger ¶
func NewRunnableLogger ¶
func NewRunnableLogger(lf *log.Factory) RunnableLogger
type Store ¶
type Store struct { Handle *globaldb.Handle SQLBuilder *globaldb.SQLBuilder SQLExecutor *globaldb.SQLExecutor Clock clock.Clock }
type UserService ¶
type UserServiceFactory ¶
type UserServiceFactory interface {
MakeUserService(appID string, appContext *config.AppContext) UserService
}
Click to show internal directories.
Click to hide internal directories.