Documentation
¶
Index ¶
- func WithTemplateID(id uuid.UUID) func(*FakeNotification) bool
- type FakeEnqueuer
- func (f *FakeEnqueuer) Clear()
- func (f *FakeEnqueuer) Enqueue(ctx context.Context, userID, templateID uuid.UUID, labels map[string]string, ...) ([]uuid.UUID, error)
- func (f *FakeEnqueuer) EnqueueWithData(ctx context.Context, userID, templateID uuid.UUID, labels map[string]string, ...) ([]uuid.UUID, error)
- func (f *FakeEnqueuer) Sent(matchers ...func(*FakeNotification) bool) []*FakeNotification
- type FakeNotification
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithTemplateID ¶ added in v2.19.0
func WithTemplateID(id uuid.UUID) func(*FakeNotification) bool
Types ¶
type FakeEnqueuer ¶
type FakeEnqueuer struct {
// contains filtered or unexported fields
}
func NewFakeEnqueuer ¶ added in v2.22.0
func NewFakeEnqueuer() *FakeEnqueuer
func (*FakeEnqueuer) Clear ¶
func (f *FakeEnqueuer) Clear()
func (*FakeEnqueuer) EnqueueWithData ¶
func (*FakeEnqueuer) Sent ¶
func (f *FakeEnqueuer) Sent(matchers ...func(*FakeNotification) bool) []*FakeNotification
Click to show internal directories.
Click to hide internal directories.