Documentation ¶
Index ¶
- type AddressDomainCacheRepositoryMock
- func (c AddressDomainCacheRepositoryMock) Delete(contextControl domain.ContextControl, key string) error
- func (c AddressDomainCacheRepositoryMock) Get(contextControl domain.ContextControl, key string) (string, error)
- func (c AddressDomainCacheRepositoryMock) Set(contextControl domain.ContextControl, key string, hash string, ...) error
- type AddressDomainDataBaseRepositoryMock
- type CustomerDomainCacheRepositoryMock
- func (c CustomerDomainCacheRepositoryMock) Delete(contextControl domain.ContextControl, key string) error
- func (c CustomerDomainCacheRepositoryMock) Get(contextControl domain.ContextControl, key string) (string, error)
- func (c CustomerDomainCacheRepositoryMock) Set(contextControl domain.ContextControl, key string, hash string, ...) error
- type CustomerDomainDataBaseRepositoryMock
- type IAddressDomainCacheRepository
- type IAddressDomainDataBaseRepository
- type ICustomerDomainCacheRepository
- type ICustomerDomainDataBaseRepository
- type IPhoneDomainCacheRepository
- type IPhoneDomainDataBaseRepository
- type PhoneDomainCacheRepositoryMock
- func (c PhoneDomainCacheRepositoryMock) Delete(contextControl domain.ContextControl, key string) error
- func (c PhoneDomainCacheRepositoryMock) Get(contextControl domain.ContextControl, key string) (string, error)
- func (c PhoneDomainCacheRepositoryMock) Set(contextControl domain.ContextControl, key string, hash string, ...) error
- type PhoneDomainDataBaseRepositoryMock
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressDomainCacheRepositoryMock ¶
type AddressDomainCacheRepositoryMock struct { SetMock func(contextControl domain.ContextControl, key string, hash string, expirationTime time.Duration) error GetMock func(contextControl domain.ContextControl, key string) (string, error) DeleteMock func(contextControl domain.ContextControl, key string) error }
func (AddressDomainCacheRepositoryMock) Delete ¶
func (c AddressDomainCacheRepositoryMock) Delete(contextControl domain.ContextControl, key string) error
func (AddressDomainCacheRepositoryMock) Get ¶
func (c AddressDomainCacheRepositoryMock) Get(contextControl domain.ContextControl, key string) (string, error)
func (AddressDomainCacheRepositoryMock) Set ¶
func (c AddressDomainCacheRepositoryMock) Set(contextControl domain.ContextControl, key string, hash string, expirationTime time.Duration) error
type AddressDomainDataBaseRepositoryMock ¶
type AddressDomainDataBaseRepositoryMock struct { SaveMock func(contextControl domain.ContextControl, address domain.AddressDomain) (domain.AddressDomain, error) GetByIDMock func(contextControl domain.ContextControl, ID int64) (domain.AddressDomain, bool, error) }
func (AddressDomainDataBaseRepositoryMock) GetByID ¶
func (c AddressDomainDataBaseRepositoryMock) GetByID(contextControl domain.ContextControl, ID int64) (domain.AddressDomain, bool, error)
func (AddressDomainDataBaseRepositoryMock) Save ¶
func (c AddressDomainDataBaseRepositoryMock) Save(contextControl domain.ContextControl, address domain.AddressDomain) (domain.AddressDomain, error)
type CustomerDomainCacheRepositoryMock ¶
type CustomerDomainCacheRepositoryMock struct { SetMock func(contextControl domain.ContextControl, key string, hash string, expirationTime time.Duration) error GetMock func(contextControl domain.ContextControl, key string) (string, error) DeleteMock func(contextControl domain.ContextControl, key string) error }
func (CustomerDomainCacheRepositoryMock) Delete ¶
func (c CustomerDomainCacheRepositoryMock) Delete(contextControl domain.ContextControl, key string) error
func (CustomerDomainCacheRepositoryMock) Get ¶
func (c CustomerDomainCacheRepositoryMock) Get(contextControl domain.ContextControl, key string) (string, error)
func (CustomerDomainCacheRepositoryMock) Set ¶
func (c CustomerDomainCacheRepositoryMock) Set(contextControl domain.ContextControl, key string, hash string, expirationTime time.Duration) error
type CustomerDomainDataBaseRepositoryMock ¶
type CustomerDomainDataBaseRepositoryMock struct { SaveMock func(contextControl domain.ContextControl, customer domain.CustomerDomain) (domain.CustomerDomain, error) GetByIDMock func(contextControl domain.ContextControl, ID int64) (domain.CustomerDomain, error) }
func (CustomerDomainDataBaseRepositoryMock) GetByID ¶
func (c CustomerDomainDataBaseRepositoryMock) GetByID(contextControl domain.ContextControl, ID int64) (domain.CustomerDomain, error)
func (CustomerDomainDataBaseRepositoryMock) Save ¶
func (c CustomerDomainDataBaseRepositoryMock) Save(contextControl domain.ContextControl, customer domain.CustomerDomain) (domain.CustomerDomain, error)
type IAddressDomainDataBaseRepository ¶
type IAddressDomainDataBaseRepository interface { Save(contextControl domain.ContextControl, address domain.AddressDomain) (domain.AddressDomain, error) GetByID(contextControl domain.ContextControl, ID int64) (domain.AddressDomain, bool, error) }
type ICustomerDomainDataBaseRepository ¶
type ICustomerDomainDataBaseRepository interface { Save(contextControl domain.ContextControl, customer domain.CustomerDomain) (domain.CustomerDomain, error) GetByID(contextControl domain.ContextControl, ID int64) (domain.CustomerDomain, error) }
type IPhoneDomainCacheRepository ¶
type IPhoneDomainCacheRepository interface { Set(contextControl domain.ContextControl, key, hash string, expirationTime time.Duration) error Get(contextControl domain.ContextControl, key string) (string, error) Delete(contextControl domain.ContextControl, key string) error }
type IPhoneDomainDataBaseRepository ¶
type IPhoneDomainDataBaseRepository interface { Save(contextControl domain.ContextControl, phone domain.PhoneDomain) (domain.PhoneDomain, error) GetByID(contextControl domain.ContextControl, ID int64) (domain.PhoneDomain, bool, error) }
type PhoneDomainCacheRepositoryMock ¶
type PhoneDomainCacheRepositoryMock struct { SetMock func(contextControl domain.ContextControl, key string, hash string, expirationTime time.Duration) error GetMock func(contextControl domain.ContextControl, key string) (string, error) DeleteMock func(contextControl domain.ContextControl, key string) error }
func (PhoneDomainCacheRepositoryMock) Delete ¶
func (c PhoneDomainCacheRepositoryMock) Delete(contextControl domain.ContextControl, key string) error
func (PhoneDomainCacheRepositoryMock) Get ¶
func (c PhoneDomainCacheRepositoryMock) Get(contextControl domain.ContextControl, key string) (string, error)
func (PhoneDomainCacheRepositoryMock) Set ¶
func (c PhoneDomainCacheRepositoryMock) Set(contextControl domain.ContextControl, key string, hash string, expirationTime time.Duration) error
type PhoneDomainDataBaseRepositoryMock ¶
type PhoneDomainDataBaseRepositoryMock struct { SaveMock func(contextControl domain.ContextControl, phone domain.PhoneDomain) (domain.PhoneDomain, error) GetByIDMock func(contextControl domain.ContextControl, ID int64) (domain.PhoneDomain, bool, error) }
func (PhoneDomainDataBaseRepositoryMock) GetByID ¶
func (c PhoneDomainDataBaseRepositoryMock) GetByID(contextControl domain.ContextControl, ID int64) (domain.PhoneDomain, bool, error)
func (PhoneDomainDataBaseRepositoryMock) Save ¶
func (c PhoneDomainDataBaseRepositoryMock) Save(contextControl domain.ContextControl, phone domain.PhoneDomain) (domain.PhoneDomain, error)
Click to show internal directories.
Click to hide internal directories.