services

package
v0.0.0-...-6c418b8 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Services

type Services struct {
	DB      *sqlx.DB
	PlainDB *sql.DB
	Email   email.Client
}

func Initialize

func Initialize(
	databasePath string,
	smtpCreds email.SMTPCreds,
) (*Services, error)

Initialize initializes services used across the application via a dependency injection.

Jump to

Keyboard shortcuts

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