Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dispatcher ¶
type JSONCaller ¶
type JSONCaller struct{}
JSONCaller unmarshals call arguments with json package and calls action.Run
func NewJSONCaller ¶
func NewJSONCaller() JSONCaller
type Request ¶
type Request struct { Method string `json:"method"` Arguments []interface{} `json:"arguments"` }
type Response ¶
type Response struct { Result interface{} `json:"result"` Error *ResponseError `json:"error"` Log string `json:"log"` }
type ResponseError ¶
Click to show internal directories.
Click to hide internal directories.