events

package
v1.31.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppendNodeDataEvent

type AppendNodeDataEvent struct {
	*eventsource.BaseEvent
	NodeDataCreatedAt   int64 `json:"nodeDataCreatedAt"`
	NodeDataContentType int32 `json:"nodeDataContentType"`
}

func (AppendNodeDataEvent) GetAggregateID

func (e AppendNodeDataEvent) GetAggregateID() string

func (AppendNodeDataEvent) GetUserID

func (e AppendNodeDataEvent) GetUserID() (userID string)

type CreateTaskEvent

type CreateTaskEvent struct {
	*eventsource.BaseEvent
	models.Task
}

func (CreateTaskEvent) GetAggregateID

func (e CreateTaskEvent) GetAggregateID() string

func (CreateTaskEvent) GetUserID

func (e CreateTaskEvent) GetUserID() (userID string)

type DeleteTaskEvent

type DeleteTaskEvent struct {
	*eventsource.BaseEvent
}

func (DeleteTaskEvent) GetAggregateID

func (e DeleteTaskEvent) GetAggregateID() string

func (DeleteTaskEvent) GetUserID

func (e DeleteTaskEvent) GetUserID() (userID string)

type SetTaskStatusEvent

type SetTaskStatusEvent struct {
	*eventsource.BaseEvent
	TaskStatus          string
	TaskStatusUpdatedAt int64
}

func (SetTaskStatusEvent) GetAggregateID

func (e SetTaskStatusEvent) GetAggregateID() string

func (SetTaskStatusEvent) GetUserID

func (e SetTaskStatusEvent) GetUserID() (userID string)

Jump to

Keyboard shortcuts

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