Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallbackMessage ¶
type CallbackMessage struct { Result interface{} `json:"result"` Err string `json:"error"` CallbackID string `json:"callbackid"` }
CallbackMessage defines a message that contains the result of a call
type Dispatcher ¶
type Dispatcher struct {
// contains filtered or unexported fields
}
func NewDispatcher ¶
func (*Dispatcher) NewErrorCallback ¶
func (d *Dispatcher) NewErrorCallback(message string, callbackID string) (string, error)
func (*Dispatcher) ProcessMessage ¶
type EventMessage ¶
type EventMessage struct { Name string `json:"name"` Data []interface{} `json:"data"` }
Click to show internal directories.
Click to hide internal directories.