Documentation ¶
Index ¶
- type Container
- func (c *Container) Close() error
- func (c *Container) GetAuthService() *auth.Service
- func (c *Container) GetDB() *sql.DB
- func (c *Container) GetMetadataRepository() *metadata.Repository
- func (c *Container) GetScrobbleService() *scrobble.Service
- func (c *Container) GetSessionCacheService() *sessioncache.Service
- func (c *Container) GetWatcherService() *watcher.Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct { Cfg *config.Config Logger zerolog.Logger // contains filtered or unexported fields }
func (*Container) GetAuthService ¶
func (*Container) GetMetadataRepository ¶
func (c *Container) GetMetadataRepository() *metadata.Repository
func (*Container) GetScrobbleService ¶
func (*Container) GetSessionCacheService ¶
func (c *Container) GetSessionCacheService() *sessioncache.Service
func (*Container) GetWatcherService ¶
Click to show internal directories.
Click to hide internal directories.