Documentation ¶
Index ¶
- Variables
- type Message
- func (*Message) Descriptor() ([]byte, []int)
- func (m *Message) GetChannelID() string
- func (m *Message) GetEventID() []byte
- func (m *Message) GetOriginID() []bytedeprecated
- func (m *Message) GetPayload() []byte
- func (m *Message) GetTargetIDs() [][]byte
- func (m *Message) GetType() string
- func (m *Message) Marshal() (dAtA []byte, err error)
- func (m *Message) MarshalTo(dAtA []byte) (int, error)
- func (m *Message) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Message) ProtoMessage()
- func (m *Message) Reset()
- func (m *Message) Size() (n int)
- func (m *Message) String() string
- func (m *Message) Unmarshal(dAtA []byte) error
- func (m *Message) XXX_DiscardUnknown()
- func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Message) XXX_Merge(src proto.Message)
- func (m *Message) XXX_Size() int
- func (m *Message) XXX_Unmarshal(b []byte) error
- type PingRequest
- func (*PingRequest) Descriptor() ([]byte, []int)
- func (m *PingRequest) Marshal() (dAtA []byte, err error)
- func (m *PingRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *PingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PingRequest) ProtoMessage()
- func (m *PingRequest) Reset()
- func (m *PingRequest) Size() (n int)
- func (m *PingRequest) String() string
- func (m *PingRequest) Unmarshal(dAtA []byte) error
- func (m *PingRequest) XXX_DiscardUnknown()
- func (m *PingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PingRequest) XXX_Merge(src proto.Message)
- func (m *PingRequest) XXX_Size() int
- func (m *PingRequest) XXX_Unmarshal(b []byte) error
- type PingResponse
- func (*PingResponse) Descriptor() ([]byte, []int)
- func (m *PingResponse) GetBlockHeight() uint64
- func (m *PingResponse) GetVersion() string
- func (m *PingResponse) Marshal() (dAtA []byte, err error)
- func (m *PingResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *PingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PingResponse) ProtoMessage()
- func (m *PingResponse) Reset()
- func (m *PingResponse) Size() (n int)
- func (m *PingResponse) String() string
- func (m *PingResponse) Unmarshal(dAtA []byte) error
- func (m *PingResponse) XXX_DiscardUnknown()
- func (m *PingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PingResponse) XXX_Merge(src proto.Message)
- func (m *PingResponse) XXX_Size() int
- func (m *PingResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { ChannelID string `protobuf:"bytes,1,opt,name=ChannelID,proto3" json:"ChannelID,omitempty"` EventID []byte `protobuf:"bytes,2,opt,name=EventID,proto3" json:"EventID,omitempty"` OriginID []byte `protobuf:"bytes,3,opt,name=OriginID,proto3" json:"OriginID,omitempty"` // Deprecated: Do not use. TargetIDs [][]byte `protobuf:"bytes,4,rep,name=TargetIDs,proto3" json:"TargetIDs,omitempty"` Payload []byte `protobuf:"bytes,5,opt,name=Payload,proto3" json:"Payload,omitempty"` Type string `protobuf:"bytes,6,opt,name=Type,proto3" json:"Type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Message models a single message that is supposed to get exchanged by the gossip network
func (*Message) Descriptor ¶
func (*Message) GetChannelID ¶
func (*Message) GetEventID ¶
func (*Message) GetOriginID
deprecated
func (*Message) GetPayload ¶
func (*Message) GetTargetIDs ¶
func (*Message) MarshalToSizedBuffer ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) XXX_DiscardUnknown ¶
func (m *Message) XXX_DiscardUnknown()
func (*Message) XXX_Marshal ¶
func (*Message) XXX_Unmarshal ¶
type PingRequest ¶ added in v0.17.0
type PingRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PingRequest) Descriptor ¶ added in v0.17.0
func (*PingRequest) Descriptor() ([]byte, []int)
func (*PingRequest) Marshal ¶ added in v0.17.0
func (m *PingRequest) Marshal() (dAtA []byte, err error)
func (*PingRequest) MarshalTo ¶ added in v0.17.0
func (m *PingRequest) MarshalTo(dAtA []byte) (int, error)
func (*PingRequest) MarshalToSizedBuffer ¶ added in v0.17.0
func (m *PingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PingRequest) ProtoMessage ¶ added in v0.17.0
func (*PingRequest) ProtoMessage()
func (*PingRequest) Reset ¶ added in v0.17.0
func (m *PingRequest) Reset()
func (*PingRequest) Size ¶ added in v0.17.0
func (m *PingRequest) Size() (n int)
func (*PingRequest) String ¶ added in v0.17.0
func (m *PingRequest) String() string
func (*PingRequest) Unmarshal ¶ added in v0.17.0
func (m *PingRequest) Unmarshal(dAtA []byte) error
func (*PingRequest) XXX_DiscardUnknown ¶ added in v0.17.0
func (m *PingRequest) XXX_DiscardUnknown()
func (*PingRequest) XXX_Marshal ¶ added in v0.17.0
func (m *PingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PingRequest) XXX_Merge ¶ added in v0.17.0
func (m *PingRequest) XXX_Merge(src proto.Message)
func (*PingRequest) XXX_Size ¶ added in v0.17.0
func (m *PingRequest) XXX_Size() int
func (*PingRequest) XXX_Unmarshal ¶ added in v0.17.0
func (m *PingRequest) XXX_Unmarshal(b []byte) error
type PingResponse ¶ added in v0.17.0
type PingResponse struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` BlockHeight uint64 `protobuf:"varint,2,opt,name=blockHeight,proto3" json:"blockHeight,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PingResponse) Descriptor ¶ added in v0.17.0
func (*PingResponse) Descriptor() ([]byte, []int)
func (*PingResponse) GetBlockHeight ¶ added in v0.17.0
func (m *PingResponse) GetBlockHeight() uint64
func (*PingResponse) GetVersion ¶ added in v0.17.0
func (m *PingResponse) GetVersion() string
func (*PingResponse) Marshal ¶ added in v0.17.0
func (m *PingResponse) Marshal() (dAtA []byte, err error)
func (*PingResponse) MarshalTo ¶ added in v0.17.0
func (m *PingResponse) MarshalTo(dAtA []byte) (int, error)
func (*PingResponse) MarshalToSizedBuffer ¶ added in v0.17.0
func (m *PingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PingResponse) ProtoMessage ¶ added in v0.17.0
func (*PingResponse) ProtoMessage()
func (*PingResponse) Reset ¶ added in v0.17.0
func (m *PingResponse) Reset()
func (*PingResponse) Size ¶ added in v0.17.0
func (m *PingResponse) Size() (n int)
func (*PingResponse) String ¶ added in v0.17.0
func (m *PingResponse) String() string
func (*PingResponse) Unmarshal ¶ added in v0.17.0
func (m *PingResponse) Unmarshal(dAtA []byte) error
func (*PingResponse) XXX_DiscardUnknown ¶ added in v0.17.0
func (m *PingResponse) XXX_DiscardUnknown()
func (*PingResponse) XXX_Marshal ¶ added in v0.17.0
func (m *PingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PingResponse) XXX_Merge ¶ added in v0.17.0
func (m *PingResponse) XXX_Merge(src proto.Message)
func (*PingResponse) XXX_Size ¶ added in v0.17.0
func (m *PingResponse) XXX_Size() int
func (*PingResponse) XXX_Unmarshal ¶ added in v0.17.0
func (m *PingResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.