Versions in this module Expand all Collapse all v0 v0.2.1 Oct 30, 2019 Changes in this version + const ContentType + const JsonrpcVersion + const NotificationMethodSuffix + const RPCPath + const ServiceMethodSeparator + const SubscribeMethodSuffix + const UnsubscribeMethodSuffix + const WebSocketPath + var ErrNotificationsUnsupported = errors.New("notifications not supported") + var ErrSubscriptionNotFound = errors.New("subscription not found") + type JsonErrResponse struct + Error JsonError + Id interface{} + Version string + type JsonError struct + Code int + Data interface{} + Message string + func (err *JsonError) Error() string + func (err *JsonError) ErrorCode() int + type JsonNotification struct + Method string + Params JsonSubscription + Version string + type JsonRequest struct + Id json.RawMessage + Method string + Payload json.RawMessage + Version string + type JsonSubscription struct + Result interface{} + Subscription string + type JsonSuccessResponse struct + Id interface{} + Result interface{} + Version string