You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
305 B
Go

package jsonrpc
import "encoding/json"
// Transport json rpc transport
type Transport interface {
Call(method string, args interface{}, reply interface{}) error
Subscribe(method string, notifyMethod string,
args interface{}, reply interface{}) (chan json.RawMessage, chan *Error, error)
}