2015-11-02 07:39:53 -08:00
|
|
|
package types
|
|
|
|
|
|
|
|
type EventsMode int8
|
|
|
|
|
|
|
|
const (
|
2015-11-16 15:50:26 -08:00
|
|
|
EventsModeOff = EventsMode(0)
|
|
|
|
EventsModeOn = EventsMode(1)
|
2015-11-02 07:39:53 -08:00
|
|
|
)
|
|
|
|
|
|
|
|
type Event struct {
|
2015-11-16 15:50:26 -08:00
|
|
|
Key string
|
|
|
|
Data []byte
|
2015-11-02 07:39:53 -08:00
|
|
|
}
|