events

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2025 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProjectCreateChannel = "project.create"
	ProjectUpdateChannel = "project.update"

	ProjectRunChannel = "project.run"
)
View Source
const (
	StoreInsertChannel = "store.insert"
	StoreRemoveChannel = "store.remove"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	// contains filtered or unexported fields
}

func (*Event) IsPropagationStopped

func (e *Event) IsPropagationStopped() bool

IsPropagationStopped returns whether further event listeners should be triggered

func (*Event) StopPropagation

func (e *Event) StopPropagation()

StopPropagation Stops the propagation of the event to further event listeners

type ProjectEvent

type ProjectEvent struct {
	Event
	ID uuid.UUID `json:"id"`
}

type StoreEvent

type StoreEvent struct {
	Event

	ID        uuid.UUID           `json:"id"`
	IndexType indextype.IndexType `json:"indexType"`
}

Jump to

Keyboard shortcuts

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