rpc-go/protocol/json/server_notification.go
crusader 8587e2e369 ing
2018-04-03 17:58:26 +09:00

11 lines
299 B
Go

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"`
}