Documentation ¶
Index ¶
- type MockDal
- func (m *MockDal) DeleteDeadLetterItems(dead []*entities.DeadLetterItem) error
- func (m *MockDal) DeleteRegistration(registration *entities.Registration) error
- func (m *MockDal) GetDeadLetterItemsReadyForRetry() ([]*entities.DeadLetterItem, error)
- func (m *MockDal) GetRegistrationByEventAndCallback(event string, callback_url string) (*entities.Registration, error)
- func (m *MockDal) GetRegistrationsByEvent(event string) ([]*entities.Registration, error)
- func (m *MockDal) UpsertDeadLetterItem(dead *entities.DeadLetterItem) error
- func (m *MockDal) UpsertEventStore(event *entities.EventStoreItem) error
- func (m *MockDal) UpsertRegistration(registration *entities.Registration) error
- type MockEventDispatcher
- type MockQueue
- type MockStatsD
- type MockWorker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDal ¶
type MockDal struct { mock.Mock UpsertObject *entities.Registration DeleteObject *entities.Registration UpsertDeadLetter *entities.DeadLetterItem }
func (*MockDal) DeleteDeadLetterItems ¶
func (m *MockDal) DeleteDeadLetterItems(dead []*entities.DeadLetterItem) error
func (*MockDal) DeleteRegistration ¶
func (m *MockDal) DeleteRegistration(registration *entities.Registration) error
func (*MockDal) GetDeadLetterItemsReadyForRetry ¶
func (m *MockDal) GetDeadLetterItemsReadyForRetry() ([]*entities.DeadLetterItem, error)
func (*MockDal) GetRegistrationByEventAndCallback ¶
func (*MockDal) GetRegistrationsByEvent ¶
func (m *MockDal) GetRegistrationsByEvent(event string) ([]*entities.Registration, error)
func (*MockDal) UpsertDeadLetterItem ¶
func (m *MockDal) UpsertDeadLetterItem(dead *entities.DeadLetterItem) error
func (*MockDal) UpsertEventStore ¶
func (m *MockDal) UpsertEventStore(event *entities.EventStoreItem) error
func (*MockDal) UpsertRegistration ¶
func (m *MockDal) UpsertRegistration(registration *entities.Registration) error
type MockEventDispatcher ¶
func (*MockEventDispatcher) DispatchEvent ¶
type MockStatsD ¶
func (*MockStatsD) Increment ¶
func (m *MockStatsD) Increment(label string)
type MockWorker ¶
func (*MockWorker) HandleItem ¶
func (m *MockWorker) HandleItem(item interface{}) error
Click to show internal directories.
Click to hide internal directories.