rpc/protocol/json/server_notification.go

11 lines
299 B
Go
Raw Permalink Normal View History

2017-11-26 10:15:51 +00:00
package json
// clientRequest represents a JSON-RPC request sent by a client.
type serverNotification struct {
// A String containing the name of the method to be invoked.
Method string `json:"method"`
// Object to pass as request parameter to the method.
Params interface{} `json:"params"`
}