container

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2025 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

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 New

func New(logLevel zerolog.Level) (*Container, error)

func (*Container) Close

func (c *Container) Close() error

func (*Container) GetAuthService

func (c *Container) GetAuthService() *auth.Service

func (*Container) GetDB

func (c *Container) GetDB() *sql.DB

func (*Container) GetMetadataRepository

func (c *Container) GetMetadataRepository() *metadata.Repository

func (*Container) GetScrobbleService

func (c *Container) GetScrobbleService() *scrobble.Service

func (*Container) GetSessionCacheService

func (c *Container) GetSessionCacheService() *sessioncache.Service

func (*Container) GetWatcherService

func (c *Container) GetWatcherService() *watcher.Service

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL