Documentation ¶
Index ¶
- Constants
- func ChangeCompact(compact bool) func(*DebugNotificationProviderChangedEvent)
- func DebugNotificationProviderAddedEventMapper(event *repository.Event) (eventstore.Event, error)
- func DebugNotificationProviderChangedEventMapper(event *repository.Event) (eventstore.Event, error)
- func DebugNotificationProviderRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
- type DebugNotificationProviderAddedEvent
- type DebugNotificationProviderChangedEvent
- type DebugNotificationProviderChanges
- type DebugNotificationProviderRemovedEvent
Constants ¶
View Source
const ( DebugNotificationPrefix = "notification.provider.debug" DebugNotificationProviderAdded = "added" DebugNotificationProviderChanged = "changed" DebugNotificationProviderEnabled = "enabled" DebugNotificationProviderDisabled = "disabled" DebugNotificationProviderRemoved = "removed" )
Variables ¶
This section is empty.
Functions ¶
func ChangeCompact ¶
func ChangeCompact(compact bool) func(*DebugNotificationProviderChangedEvent)
func DebugNotificationProviderAddedEventMapper ¶
func DebugNotificationProviderAddedEventMapper(event *repository.Event) (eventstore.Event, error)
func DebugNotificationProviderChangedEventMapper ¶
func DebugNotificationProviderChangedEventMapper(event *repository.Event) (eventstore.Event, error)
func DebugNotificationProviderRemovedEventMapper ¶
func DebugNotificationProviderRemovedEventMapper(event *repository.Event) (eventstore.Event, error)
Types ¶
type DebugNotificationProviderAddedEvent ¶
type DebugNotificationProviderAddedEvent struct { eventstore.BaseEvent `json:"-"` Compact bool `json:"compact,omitempty"` }
func NewDebugNotificationProviderAddedEvent ¶
func NewDebugNotificationProviderAddedEvent( base *eventstore.BaseEvent, compact bool, ) *DebugNotificationProviderAddedEvent
func (*DebugNotificationProviderAddedEvent) Data ¶
func (e *DebugNotificationProviderAddedEvent) Data() interface{}
func (*DebugNotificationProviderAddedEvent) UniqueConstraints ¶
func (e *DebugNotificationProviderAddedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type DebugNotificationProviderChangedEvent ¶
type DebugNotificationProviderChangedEvent struct { eventstore.BaseEvent `json:"-"` Compact *bool `json:"compact,omitempty"` }
func NewDebugNotificationProviderChangedEvent ¶
func NewDebugNotificationProviderChangedEvent( base *eventstore.BaseEvent, changes []DebugNotificationProviderChanges, ) (*DebugNotificationProviderChangedEvent, error)
func (*DebugNotificationProviderChangedEvent) Data ¶
func (e *DebugNotificationProviderChangedEvent) Data() interface{}
func (*DebugNotificationProviderChangedEvent) UniqueConstraints ¶
func (e *DebugNotificationProviderChangedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
type DebugNotificationProviderChanges ¶
type DebugNotificationProviderChanges func(*DebugNotificationProviderChangedEvent)
type DebugNotificationProviderRemovedEvent ¶
type DebugNotificationProviderRemovedEvent struct {
eventstore.BaseEvent `json:"-"`
}
func NewDebugNotificationProviderRemovedEvent ¶
func NewDebugNotificationProviderRemovedEvent(base *eventstore.BaseEvent) *DebugNotificationProviderRemovedEvent
func (*DebugNotificationProviderRemovedEvent) Data ¶
func (e *DebugNotificationProviderRemovedEvent) Data() interface{}
func (*DebugNotificationProviderRemovedEvent) UniqueConstraints ¶
func (e *DebugNotificationProviderRemovedEvent) UniqueConstraints() []*eventstore.EventUniqueConstraint
Click to show internal directories.
Click to hide internal directories.