infra

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContactCmdRepo

type ContactCmdRepo struct {
	// contains filtered or unexported fields
}

func NewContactCmdRepo

func NewContactCmdRepo(
	persistentDbSvc *db.PersistentDatabaseService,
) *ContactCmdRepo

func (*ContactCmdRepo) Create

func (repo *ContactCmdRepo) Create(dto dto.CreateContact) error

func (*ContactCmdRepo) Delete

func (repo *ContactCmdRepo) Delete(id valueObject.ContactId) error

func (*ContactCmdRepo) Update

func (repo *ContactCmdRepo) Update(dto dto.UpdateContact) error

type ContactQueryRepo

type ContactQueryRepo struct {
	// contains filtered or unexported fields
}

func NewContactQueryRepo

func NewContactQueryRepo(
	persistentDbSvc *db.PersistentDatabaseService,
) *ContactQueryRepo

func (*ContactQueryRepo) Read

func (repo *ContactQueryRepo) Read() ([]entity.Contact, error)

func (*ContactQueryRepo) ReadById

func (repo *ContactQueryRepo) ReadById(id valueObject.ContactId) (entity.Contact, error)

Directories

Path Synopsis
db

Jump to

Keyboard shortcuts

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