Documentation
      ¶
    
    
  
    
  
    Index ¶
- type RepositoryFactory
 - func (f *RepositoryFactory) Car(c store.Cache, q postgresdb.Querier) repositories.Car
 - func (f *RepositoryFactory) CarTrackInfo(c store.Cache, q postgresdb.Querier) repositories.CarTrackInfo
 - func (f *RepositoryFactory) PitParams(c store.Cache, q postgresdb.Querier) repositories.PitParameters
 - func (f *RepositoryFactory) Setup(q postgresdb.Querier) repositories.Setup
 - func (f *RepositoryFactory) SetupStorage(q postgresdb.Querier) repositories.SetupStorage
 - func (f *RepositoryFactory) Strategy(q postgresdb.Querier) repositories.Strategy
 - func (f *RepositoryFactory) Track(c store.Cache, q postgresdb.Querier) repositories.Track
 - func (f *RepositoryFactory) TrackLayout(c store.Cache, q postgresdb.Querier) repositories.TrackLayout
 - func (f *RepositoryFactory) User(c store.Cache, cl *api.Client) repositories.User
 
- type ServiceFactory
 - func (f *ServiceFactory) EventPublisher(o *outbox.Outbox) services.EventPublisher
 - func (f *ServiceFactory) Pitstop(c store.Cache, q postgresdb.Querier) services.PitstopService
 - func (f *ServiceFactory) RaceProgress(c store.Cache, q postgresdb.Querier) *services.RaceProgress
 - func (f *ServiceFactory) RaceStrategy(c store.Cache, q postgresdb.Querier) *services.RaceStrategy
 - func (f *ServiceFactory) Setup(q postgresdb.Querier) *services.Setup
 - func (f *ServiceFactory) Stint(c store.Cache, q postgresdb.Querier) services.StintService
 - func (f *ServiceFactory) Track(c store.Cache, q postgresdb.Querier) *services.Track
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RepositoryFactory ¶
type RepositoryFactory struct{}
    func NewRepositoryFactory ¶
func NewRepositoryFactory() *RepositoryFactory
func (*RepositoryFactory) Car ¶
func (f *RepositoryFactory) Car(c store.Cache, q postgresdb.Querier) repositories.Car
func (*RepositoryFactory) CarTrackInfo ¶ added in v0.22.0
func (f *RepositoryFactory) CarTrackInfo(c store.Cache, q postgresdb.Querier) repositories.CarTrackInfo
func (*RepositoryFactory) PitParams ¶
func (f *RepositoryFactory) PitParams(c store.Cache, q postgresdb.Querier) repositories.PitParameters
func (*RepositoryFactory) Setup ¶
func (f *RepositoryFactory) Setup(q postgresdb.Querier) repositories.Setup
func (*RepositoryFactory) SetupStorage ¶
func (f *RepositoryFactory) SetupStorage(q postgresdb.Querier) repositories.SetupStorage
func (*RepositoryFactory) Strategy ¶
func (f *RepositoryFactory) Strategy(q postgresdb.Querier) repositories.Strategy
func (*RepositoryFactory) Track ¶
func (f *RepositoryFactory) Track(c store.Cache, q postgresdb.Querier) repositories.Track
func (*RepositoryFactory) TrackLayout ¶
func (f *RepositoryFactory) TrackLayout(c store.Cache, q postgresdb.Querier) repositories.TrackLayout
func (*RepositoryFactory) User ¶
func (f *RepositoryFactory) User(c store.Cache, cl *api.Client) repositories.User
type ServiceFactory ¶
type ServiceFactory struct {
	// contains filtered or unexported fields
}
    func NewServiceFactory ¶
func NewServiceFactory(repoFactory factories.RepositoryFactory) *ServiceFactory
func (*ServiceFactory) EventPublisher ¶
func (f *ServiceFactory) EventPublisher(o *outbox.Outbox) services.EventPublisher
func (*ServiceFactory) Pitstop ¶
func (f *ServiceFactory) Pitstop(c store.Cache, q postgresdb.Querier) services.PitstopService
func (*ServiceFactory) RaceProgress ¶
func (f *ServiceFactory) RaceProgress(c store.Cache, q postgresdb.Querier) *services.RaceProgress
func (*ServiceFactory) RaceStrategy ¶
func (f *ServiceFactory) RaceStrategy(c store.Cache, q postgresdb.Querier) *services.RaceStrategy
func (*ServiceFactory) Setup ¶
func (f *ServiceFactory) Setup(q postgresdb.Querier) *services.Setup
func (*ServiceFactory) Stint ¶
func (f *ServiceFactory) Stint(c store.Cache, q postgresdb.Querier) services.StintService
func (*ServiceFactory) Track ¶
func (f *ServiceFactory) Track(c store.Cache, q postgresdb.Querier) *services.Track
 Click to show internal directories. 
   Click to hide internal directories.