Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnknownEvent = goerr.New("unknown event type") ErrUnexpectedEvent = goerr.New("unexpected event type") )
Event errors
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { Name Type `json:"name"` Data interface{} `json:"data,omitempty"` }
func (*Message) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.