service

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAccountService

func NewAccountService(
	accountRepo domain.AccountRepository,
	userRepo domain.UserRepository,
	auditRepo domain.AuditRepository,
) domain.AccountService

NewAccountService creates a new instance of AccountService.

func NewAdminService

func NewAdminService(
	tenantRepo domain.AdminTenantRepository,
	userRepo domain.AdminUserRepository,
	adminAudit domain.AdminAuditRepository,
	auditRepo domain.AuditRepository,
) domain.AdminService

NewAdminService creates a new system-wide administrative service.

func NewAuthService

func NewAuthService(
	authRepo domain.AuthRepository,
	userRepo domain.UserRepository,
	auditRepo domain.AuditRepository,
	mailer domain.Mailer,
	pasetoKey paseto.V4SymmetricKey,
) domain.AuthService

NewAuthService creates a new authentication service.

func NewCategoryService

func NewCategoryService(categoryRepo domain.CategoryRepository, auditRepo domain.AuditRepository) domain.CategoryService

NewCategoryService creates a new instance of CategoryService.

func NewTenantService

func NewTenantService(
	tenantRepo domain.TenantRepository,
	userRepo domain.UserRepository,
	auditRepo domain.AuditRepository,
) domain.TenantService

NewTenantService creates a new instance of TenantService.

func NewTransactionService

func NewTransactionService(
	txRepo domain.TransactionRepository,
	accountRepo domain.AccountRepository,
	categoryRepo domain.CategoryRepository,
	auditRepo domain.AuditRepository,
) domain.TransactionService

NewTransactionService creates a new instance of TransactionService.

Types

This section is empty.

Jump to

Keyboard shortcuts

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