output

package
v0.0.0-...-aad55e1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

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 (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 (AddressDomainDataBaseRepositoryMock) Save

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 (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 (CustomerDomainDataBaseRepositoryMock) Save

type IAddressDomainCacheRepository

type IAddressDomainCacheRepository interface {
	Set(contextControl domain.ContextControl, key string, hash string, expirationTime time.Duration) error
	Get(contextControl domain.ContextControl, key string) (string, error)
	Delete(contextControl domain.ContextControl, key string) 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 ICustomerDomainCacheRepository

type ICustomerDomainCacheRepository interface {
	Set(contextControl domain.ContextControl, key string, hash string, expirationTime time.Duration) error
	Get(contextControl domain.ContextControl, key string) (string, error)
	Delete(contextControl domain.ContextControl, key string) 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 (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 (PhoneDomainDataBaseRepositoryMock) Save

Jump to

Keyboard shortcuts

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