Documentation ¶
Index ¶
- type AccountCmdRepo
- func (repo *AccountCmdRepo) Create(createDto dto.CreateAccount) (accountId valueObject.AccountId, err error)
- func (repo *AccountCmdRepo) Delete(accountId valueObject.AccountId) error
- func (repo *AccountCmdRepo) UpdateApiKey(accountId valueObject.AccountId) (tokenValue valueObject.AccessTokenStr, err error)
- func (repo *AccountCmdRepo) UpdatePassword(accountId valueObject.AccountId, password valueObject.Password) error
- type AccountQueryRepo
- func (repo *AccountQueryRepo) Read() ([]entity.Account, error)
- func (repo *AccountQueryRepo) ReadById(accountId valueObject.AccountId) (accountEntity entity.Account, err error)
- func (repo *AccountQueryRepo) ReadByUsername(accountUsername valueObject.Username) (accountEntity entity.Account, 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 valueObject.AccountId, err error)
func (*AccountCmdRepo) Delete ¶ added in v0.1.2
func (repo *AccountCmdRepo) Delete(accountId valueObject.AccountId) error
func (*AccountCmdRepo) UpdateApiKey ¶ added in v0.1.2
func (repo *AccountCmdRepo) UpdateApiKey( accountId valueObject.AccountId, ) (tokenValue valueObject.AccessTokenStr, err error)
func (*AccountCmdRepo) UpdatePassword ¶ added in v0.1.2
func (repo *AccountCmdRepo) UpdatePassword( accountId valueObject.AccountId, password valueObject.Password, ) 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) Read ¶ added in v0.1.2
func (repo *AccountQueryRepo) Read() ([]entity.Account, error)
func (*AccountQueryRepo) ReadById ¶ added in v0.1.2
func (repo *AccountQueryRepo) ReadById( accountId valueObject.AccountId, ) (accountEntity entity.Account, err error)
func (*AccountQueryRepo) ReadByUsername ¶ added in v0.1.2
func (repo *AccountQueryRepo) ReadByUsername( accountUsername valueObject.Username, ) (accountEntity entity.Account, err error)
Click to show internal directories.
Click to hide internal directories.