Versions in this module Expand all Collapse all v8 v8.0.2 Jun 27, 2022 v8.0.1 Jun 27, 2022 Changes in this version + var ErrWsClosed = "use of closed network connection" + var Subscriptions = map[string]HubSignal + func IsIOTimeoutErr(err error) bool + func IsTemporaryErr(err error) bool + func IsWSClosedErr(err error) (closedErr bool) + type AddressMessage struct + Address string + TxHash string + func (am AddressMessage) String() string + type HangUp struct + type HubMessage struct + Msg interface{} + Signal HubSignal + func (m HubMessage) IsValid() bool + func (m HubMessage) String() string + type HubSignal int + const SigAddressTx + const SigByeNow + const SigDecodeTx + const SigGetMempoolTxs + const SigMempoolUpdate + const SigNewBlock + const SigNewTx + const SigNewTxs + const SigPingAndUserCount + const SigSendTx + const SigSubscribe + const SigSyncStatus + const SigUnknown + const SigUnsubscribe + const SigVersion + func ValidateSubscription(event string) (sub HubSignal, msg interface{}, valid bool) + func (s HubSignal) IsValid() bool + func (s HubSignal) String() string + type RequestMessage struct + Message string + RequestId int64 + type ResponseMessage struct + Data string + RequestEventId string + RequestId int64 + Success bool + type TxList []*exptypes.MempoolTx + type Ver struct + Major uint32 + Minor uint32 + Patch uint32 + func NewVer(major, minor, patch uint32) Ver + func (v Ver) String() string + type WebSocketMessage struct + EventId string + Message json.RawMessage Other modules containing this package github.com/Decred-Next/dcrndata/pubsub/types/v8