package
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Mar 3, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 12
Opens a new window with list of known importers.
Documentation
¶
type Event struct {
ID int64
SourceID uuid.UUID
Created time.Time
Payload interface{}
EventType string
Version int
}
Event this is the main event that will get written
func NewEvent(sourceID uuid.UUID, payload interface{}, eventType string, version int) *Event
NewEvent creating a new event
Source Files
¶
Click to show internal directories.
Click to hide internal directories.