accountInfra

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: EPL-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountCmdRepo added in v0.1.2

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

func NewAccountCmdRepo added in v0.1.2

func NewAccountCmdRepo(
	persistentDbSvc *internalDbInfra.PersistentDatabaseService,
) *AccountCmdRepo

func (*AccountCmdRepo) Create added in v0.1.2

func (repo *AccountCmdRepo) Create(
	createDto dto.CreateAccount,
) (accountId tkValueObject.AccountId, err error)

func (*AccountCmdRepo) CreateSecureAccessPublicKey added in v0.1.7

func (repo *AccountCmdRepo) CreateSecureAccessPublicKey(
	createDto dto.CreateSecureAccessPublicKey,
) (keyId valueObject.SecureAccessPublicKeyId, err error)

func (*AccountCmdRepo) Delete added in v0.1.2

func (repo *AccountCmdRepo) Delete(accountId tkValueObject.AccountId) error

func (*AccountCmdRepo) DeleteSecureAccessPublicKey added in v0.1.7

func (repo *AccountCmdRepo) DeleteSecureAccessPublicKey(
	secureAccessPublicKeyId valueObject.SecureAccessPublicKeyId,
) error

func (*AccountCmdRepo) Update added in v0.2.0

func (repo *AccountCmdRepo) Update(updateDto dto.UpdateAccount) error

func (*AccountCmdRepo) UpdateApiKey added in v0.1.2

func (repo *AccountCmdRepo) UpdateApiKey(
	accountId tkValueObject.AccountId,
) (tokenValue tkValueObject.AccessTokenValue, err error)

type AccountQueryRepo added in v0.1.2

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

func NewAccountQueryRepo added in v0.1.2

func NewAccountQueryRepo(
	persistentDbSvc *internalDbInfra.PersistentDatabaseService,
) *AccountQueryRepo

func (*AccountQueryRepo) Count added in v0.2.6

func (repo *AccountQueryRepo) Count(
	requestDto dto.ReadAccountsRequest,
) (count uint64, err error)

func (*AccountQueryRepo) Read added in v0.1.2

func (repo *AccountQueryRepo) Read(
	requestDto dto.ReadAccountsRequest,
) (responseDto dto.ReadAccountsResponse, err error)

func (*AccountQueryRepo) ReadFirst added in v0.1.7

func (repo *AccountQueryRepo) ReadFirst(
	requestDto dto.ReadAccountsRequest,
) (account entity.Account, err error)

func (*AccountQueryRepo) ReadFirstSecureAccessPublicKey added in v0.1.7

func (repo *AccountQueryRepo) ReadFirstSecureAccessPublicKey(
	requestDto dto.ReadSecureAccessPublicKeysRequest,
) (secureAccessPublicKey entity.SecureAccessPublicKey, err error)

func (*AccountQueryRepo) ReadSecureAccessPublicKeys added in v0.1.7

func (repo *AccountQueryRepo) ReadSecureAccessPublicKeys(
	requestDto dto.ReadSecureAccessPublicKeysRequest,
) (responseDto dto.ReadSecureAccessPublicKeysResponse, err error)

Jump to

Keyboard shortcuts

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