Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Emitter ¶
type Emitter struct {
// contains filtered or unexported fields
}
func NewEmitter ¶
func (*Emitter) AddPipeline ¶
Add a pipeline in which to send events
func (Emitter) OnAuthentication ¶
func (s Emitter) OnAuthentication()
func (Emitter) OnException ¶
func (s Emitter) OnException()
type Event ¶
type Event struct {
Topic string
Type string
Action string
EntityType string
EntityKeys []string
ResourceUrl string
// This is only important event info, not the entire event payload
// The entire event payload can be fetched from "ResourceUrl"
Data any // TODO: maybe a struct array with EntityKey and data
}
Click to show internal directories.
Click to hide internal directories.