Documentation
¶
Index ¶
- type AccountCmdRepo
- func (repo *AccountCmdRepo) Create(createDto dto.CreateAccount) (accountId tkValueObject.AccountId, err error)
- func (repo *AccountCmdRepo) CreateSecureAccessPublicKey(createDto dto.CreateSecureAccessPublicKey) (keyId valueObject.SecureAccessPublicKeyId, err error)
- func (repo *AccountCmdRepo) Delete(accountId tkValueObject.AccountId) error
- func (repo *AccountCmdRepo) DeleteSecureAccessPublicKey(secureAccessPublicKeyId valueObject.SecureAccessPublicKeyId) error
- func (repo *AccountCmdRepo) Update(updateDto dto.UpdateAccount) error
- func (repo *AccountCmdRepo) UpdateApiKey(accountId tkValueObject.AccountId) (tokenValue tkValueObject.AccessTokenValue, err error)
- type AccountQueryRepo
- func (repo *AccountQueryRepo) Count(requestDto dto.ReadAccountsRequest) (count uint64, err error)
- func (repo *AccountQueryRepo) Read(requestDto dto.ReadAccountsRequest) (responseDto dto.ReadAccountsResponse, err error)
- func (repo *AccountQueryRepo) ReadFirst(requestDto dto.ReadAccountsRequest) (account entity.Account, err error)
- func (repo *AccountQueryRepo) ReadFirstSecureAccessPublicKey(requestDto dto.ReadSecureAccessPublicKeysRequest) (secureAccessPublicKey entity.SecureAccessPublicKey, err error)
- func (repo *AccountQueryRepo) ReadSecureAccessPublicKeys(requestDto dto.ReadSecureAccessPublicKeysRequest) (responseDto dto.ReadSecureAccessPublicKeysResponse, err error)
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)
Click to show internal directories.
Click to hide internal directories.