events

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidEvent

func IsValidEvent(evt Event) bool

func StringIsValidEvent

func StringIsValidEvent(value string) bool

Types

type Event

type Event string
const (
	User             Event = "user"
	UserCreate       Event = "user.create"
	UserUpdate       Event = "user.update"
	UserDelete       Event = "user.delete"
	UserEmail        Event = "user.update.email"
	UserEmailCreate  Event = "user.update.email.create"
	UserEmailPrimary Event = "user.update.email.primary"
	UserEmailDelete  Event = "user.update.email.delete"

	EmailSend Event = "email.send"
)

type Events

type Events []Event

func ConvertFromDbList

func ConvertFromDbList(events models.WebhookEvents) Events

Jump to

Keyboard shortcuts

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