Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data map[string]interface{}
Data Data that comes with an event Works exactly like a JSON object []interface{} would be a JSON array
type Event ¶
type Event struct { ID int // event unique Id Date time.Time // time of declenchment, allow to sort events Family string // event family Creator *interface{} // Object that triggered the event Data Data // Data that comes with the event, can be of any type }
Event General type for an event
type Eventer ¶
type Eventer interface {
Generate() Event // Genereate an event
}
Eventer An object able to generate an event
Click to show internal directories.
Click to hide internal directories.