Documentation ¶
Index ¶
- type DeliveryAttemptRepository
- func (_m *DeliveryAttemptRepository) Create(ctx context.Context, deliveryAttempt *postmand.DeliveryAttempt) error
- func (_m *DeliveryAttemptRepository) Get(ctx context.Context, getOptions postmand.RepositoryGetOptions) (*postmand.DeliveryAttempt, error)
- func (_m *DeliveryAttemptRepository) List(ctx context.Context, listOptions postmand.RepositoryListOptions) ([]*postmand.DeliveryAttempt, error)
- type DeliveryAttemptService
- type DeliveryRepository
- func (_m *DeliveryRepository) Create(ctx context.Context, delivery *postmand.Delivery) error
- func (_m *DeliveryRepository) Delete(ctx context.Context, id uuid.UUID) error
- func (_m *DeliveryRepository) Dispatch(ctx context.Context) (*postmand.DeliveryAttempt, error)
- func (_m *DeliveryRepository) Get(ctx context.Context, getOptions postmand.RepositoryGetOptions) (*postmand.Delivery, error)
- func (_m *DeliveryRepository) List(ctx context.Context, listOptions postmand.RepositoryListOptions) ([]*postmand.Delivery, error)
- func (_m *DeliveryRepository) Update(ctx context.Context, delivery *postmand.Delivery) error
- type DeliveryService
- func (_m *DeliveryService) Create(ctx context.Context, delivery *postmand.Delivery) error
- func (_m *DeliveryService) Delete(ctx context.Context, id uuid.UUID) error
- func (_m *DeliveryService) Get(ctx context.Context, getOptions postmand.RepositoryGetOptions) (*postmand.Delivery, error)
- func (_m *DeliveryService) List(ctx context.Context, listOptions postmand.RepositoryListOptions) ([]*postmand.Delivery, error)
- func (_m *DeliveryService) Update(ctx context.Context, delivery *postmand.Delivery) error
- type MigrationRepository
- type MigrationService
- type PingRepository
- type PingService
- type WebhookRepository
- func (_m *WebhookRepository) Create(ctx context.Context, webhook *postmand.Webhook) error
- func (_m *WebhookRepository) Delete(ctx context.Context, id uuid.UUID) error
- func (_m *WebhookRepository) Get(ctx context.Context, getOptions postmand.RepositoryGetOptions) (*postmand.Webhook, error)
- func (_m *WebhookRepository) List(ctx context.Context, listOptions postmand.RepositoryListOptions) ([]*postmand.Webhook, error)
- func (_m *WebhookRepository) Update(ctx context.Context, webhook *postmand.Webhook) error
- type WebhookService
- func (_m *WebhookService) Create(ctx context.Context, webhook *postmand.Webhook) error
- func (_m *WebhookService) Delete(ctx context.Context, id uuid.UUID) error
- func (_m *WebhookService) Get(ctx context.Context, getOptions postmand.RepositoryGetOptions) (*postmand.Webhook, error)
- func (_m *WebhookService) List(ctx context.Context, listOptions postmand.RepositoryListOptions) ([]*postmand.Webhook, error)
- func (_m *WebhookService) Update(ctx context.Context, webhook *postmand.Webhook) error
- type WorkerService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeliveryAttemptRepository ¶
DeliveryAttemptRepository is an autogenerated mock type for the DeliveryAttemptRepository type
func (*DeliveryAttemptRepository) Create ¶
func (_m *DeliveryAttemptRepository) Create(ctx context.Context, deliveryAttempt *postmand.DeliveryAttempt) error
Create provides a mock function with given fields: ctx, deliveryAttempt
func (*DeliveryAttemptRepository) Get ¶
func (_m *DeliveryAttemptRepository) Get(ctx context.Context, getOptions postmand.RepositoryGetOptions) (*postmand.DeliveryAttempt, error)
Get provides a mock function with given fields: ctx, getOptions
func (*DeliveryAttemptRepository) List ¶
func (_m *DeliveryAttemptRepository) List(ctx context.Context, listOptions postmand.RepositoryListOptions) ([]*postmand.DeliveryAttempt, error)
List provides a mock function with given fields: ctx, listOptions
type DeliveryAttemptService ¶
DeliveryAttemptService is an autogenerated mock type for the DeliveryAttemptService type
func (*DeliveryAttemptService) Get ¶
func (_m *DeliveryAttemptService) Get(ctx context.Context, getOptions postmand.RepositoryGetOptions) (*postmand.DeliveryAttempt, error)
Get provides a mock function with given fields: ctx, getOptions
func (*DeliveryAttemptService) List ¶
func (_m *DeliveryAttemptService) List(ctx context.Context, listOptions postmand.RepositoryListOptions) ([]*postmand.DeliveryAttempt, error)
List provides a mock function with given fields: ctx, listOptions
type DeliveryRepository ¶
DeliveryRepository is an autogenerated mock type for the DeliveryRepository type
func (*DeliveryRepository) Create ¶
Create provides a mock function with given fields: ctx, delivery
func (*DeliveryRepository) Dispatch ¶
func (_m *DeliveryRepository) Dispatch(ctx context.Context) (*postmand.DeliveryAttempt, error)
Dispatch provides a mock function with given fields: ctx
func (*DeliveryRepository) Get ¶
func (_m *DeliveryRepository) Get(ctx context.Context, getOptions postmand.RepositoryGetOptions) (*postmand.Delivery, error)
Get provides a mock function with given fields: ctx, getOptions
func (*DeliveryRepository) List ¶
func (_m *DeliveryRepository) List(ctx context.Context, listOptions postmand.RepositoryListOptions) ([]*postmand.Delivery, error)
List provides a mock function with given fields: ctx, listOptions
type DeliveryService ¶
DeliveryService is an autogenerated mock type for the DeliveryService type
func (*DeliveryService) Get ¶
func (_m *DeliveryService) Get(ctx context.Context, getOptions postmand.RepositoryGetOptions) (*postmand.Delivery, error)
Get provides a mock function with given fields: ctx, getOptions
func (*DeliveryService) List ¶
func (_m *DeliveryService) List(ctx context.Context, listOptions postmand.RepositoryListOptions) ([]*postmand.Delivery, error)
List provides a mock function with given fields: ctx, listOptions
type MigrationRepository ¶
MigrationRepository is an autogenerated mock type for the MigrationRepository type
type MigrationService ¶
MigrationService is an autogenerated mock type for the MigrationService type
type PingRepository ¶
PingRepository is an autogenerated mock type for the PingRepository type
type PingService ¶
PingService is an autogenerated mock type for the PingService type
type WebhookRepository ¶
WebhookRepository is an autogenerated mock type for the WebhookRepository type
func (*WebhookRepository) Get ¶
func (_m *WebhookRepository) Get(ctx context.Context, getOptions postmand.RepositoryGetOptions) (*postmand.Webhook, error)
Get provides a mock function with given fields: ctx, getOptions
func (*WebhookRepository) List ¶
func (_m *WebhookRepository) List(ctx context.Context, listOptions postmand.RepositoryListOptions) ([]*postmand.Webhook, error)
List provides a mock function with given fields: ctx, listOptions
type WebhookService ¶
WebhookService is an autogenerated mock type for the WebhookService type
func (*WebhookService) Get ¶
func (_m *WebhookService) Get(ctx context.Context, getOptions postmand.RepositoryGetOptions) (*postmand.Webhook, error)
Get provides a mock function with given fields: ctx, getOptions
func (*WebhookService) List ¶
func (_m *WebhookService) List(ctx context.Context, listOptions postmand.RepositoryListOptions) ([]*postmand.Webhook, error)
List provides a mock function with given fields: ctx, listOptions
type WorkerService ¶
WorkerService is an autogenerated mock type for the WorkerService type
func (*WorkerService) Run ¶
func (_m *WorkerService) Run(ctx context.Context)
Run provides a mock function with given fields: ctx
func (*WorkerService) Shutdown ¶
func (_m *WorkerService) Shutdown(ctx context.Context)
Shutdown provides a mock function with given fields: ctx