events

package
v0.0.0-...-443d657 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventRecord

type EventRecord struct {
	Id        bson.ObjectId `bson:"_id,omitempty"`
	Type      string        `bson:"type"`
	Timestamp int64         `bson:"created_at"`
	Event     interface{}   `bson:"event"`
}

The EventRecord containing the event and metadata about it

func NewEvent

func NewEvent(ev interface{}) EventRecord

New Event Generator

Jump to

Keyboard shortcuts

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