settings

package
v0.0.0-...-860e413 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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

type DebugNotificationProviderChangedEvent

type DebugNotificationProviderChangedEvent struct {
	eventstore.BaseEvent `json:"-"`

	Compact *bool `json:"compact,omitempty"`
}

func (*DebugNotificationProviderChangedEvent) Data

func (e *DebugNotificationProviderChangedEvent) Data() interface{}

func (*DebugNotificationProviderChangedEvent) UniqueConstraints

type DebugNotificationProviderChanges

type DebugNotificationProviderChanges func(*DebugNotificationProviderChangedEvent)

type DebugNotificationProviderRemovedEvent

type DebugNotificationProviderRemovedEvent struct {
	eventstore.BaseEvent `json:"-"`
}

func (*DebugNotificationProviderRemovedEvent) Data

func (e *DebugNotificationProviderRemovedEvent) Data() interface{}

func (*DebugNotificationProviderRemovedEvent) UniqueConstraints

Jump to

Keyboard shortcuts

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