app

package
v0.0.0-...-d3ce8bf Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: MIT Imports: 12 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 {
	Ctx        context.Context
	Clocker    clock.Clock
	Translator i18n.Translation
	Config     config.Config
	Logger     logger.Logger
	AuthToken  *auth.AuthToken
}

Container holds the dependencies for the application

func NewContainer

func NewContainer() *Container

NewContainer creates a new Container

func (*Container) Close

func (c *Container) Close() error

Close closes the Container

func (*Container) Init

func (c *Container) Init(cfg config.Config) error

Init initializes the Container

Directories

Path Synopsis
Package i18n provides internationalization support for the application.
Package i18n provides internationalization support for the application.

Jump to

Keyboard shortcuts

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