Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Event ¶
type Event struct {
// Name - A human readable name for this event. (ie "session_new" is a new session event)
Name string
// Table - the DB table that this event modifies (or nil)
Table string
// SQLOp - the SQL operation needed to serialize the event to the DB
// 1 - INSERT // 2 - UPDATE
SQLOp int
// The columns in the DB this inserts for INSERTS or qualifies if matches for UPDATES
Columns map[string]interface{}
// The columns to modify for UPDATE events
ModifiedColumns map[string]interface{}
}
Event stores an arbitrary event
Click to show internal directories.
Click to hide internal directories.