package
Version:
v0.0.0-...-1979335
Opens a new window with list of versions in this module.
Published: Feb 2, 2017
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Encode event to json string
type Event struct {
Type string `json:"type"`
Channel string `json:"channel,omitempty"`
Data interface{} `json:"data,omitempty"`
}
Event struct
Decode json string to event
Source Files
¶
Click to show internal directories.
Click to hide internal directories.