event

package
v0.0.0-...-318167e Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	ID     uuid.UUID
	From   uuid.UUID
	To     uuid.UUID
	Type   utils.EventType
	Action string
	Data   map[interface{}]interface{}
}

func NewEvent

func NewEvent(from uuid.UUID, to uuid.UUID, eventType utils.EventType, action string, data map[interface{}]interface{}) *Event

NewEvent Creates a new event

Jump to

Keyboard shortcuts

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