Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageJSON ¶
type MessageJSON struct { Message *SyncMessageJSON `json:",omitempty"` Request *SyncRequestJSON `json:",omitempty"` Reply *SyncReplyJSON `json:",omitempty"` Ack *SyncAckJSON `json:",omitempty"` }
MessageJSON is the JSON representation of a sync message.
type SyncAckJSON ¶
type SyncAckJSON struct{}
SyncAckJSON is the JSON representation of a sync acknowledgement.
type SyncMessageJSON ¶
type SyncMessageJSON struct {
Chain json.RawMessage
}
SyncMessageJSON is the JSON representation of a sync announcement.
type SyncReplyJSON ¶
type SyncReplyJSON struct {
Link json.RawMessage
}
SyncReplyJSON is the JSON representation of a sync reply.
type SyncRequestJSON ¶
type SyncRequestJSON struct {
From uint64
}
SyncRequestJSON is the JSON representation of a sync request.
Click to show internal directories.
Click to hide internal directories.