Documentation
¶
Index ¶
- Variables
- type DirectConnectionInfo
- func (*DirectConnectionInfo) Descriptor() ([]byte, []int)
- func (this *DirectConnectionInfo) Equal(that interface{}) bool
- func (m *DirectConnectionInfo) GetShardId() string
- func (this *DirectConnectionInfo) GoString() string
- func (m *DirectConnectionInfo) Marshal() (dAtA []byte, err error)
- func (m *DirectConnectionInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *DirectConnectionInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DirectConnectionInfo) ProtoMessage()
- func (m *DirectConnectionInfo) Reset()
- func (m *DirectConnectionInfo) Size() (n int)
- func (this *DirectConnectionInfo) String() string
- func (m *DirectConnectionInfo) Unmarshal(dAtA []byte) error
- func (m *DirectConnectionInfo) XXX_DiscardUnknown()
- func (m *DirectConnectionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DirectConnectionInfo) XXX_Merge(src proto.Message)
- func (m *DirectConnectionInfo) XXX_Size() int
- func (m *DirectConnectionInfo) XXX_Unmarshal(b []byte) error
- type Message
- func (m *Message) Data() []byte
- func (m *Message) From() []byte
- func (m *Message) IsInterfaceNil() bool
- func (m *Message) Key() []byte
- func (m *Message) Payload() []byte
- func (m *Message) Peer() core.PeerID
- func (m *Message) SeqNo() []byte
- func (m *Message) Signature() []byte
- func (m *Message) Timestamp() int64
- func (m *Message) Topic() string
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type DirectConnectionInfo ¶ added in v1.3.37
type DirectConnectionInfo struct {
ShardId string `protobuf:"bytes,1,opt,name=ShardId,proto3" json:"shardId"`
}
DirectConnectionInfo represents the data regarding a new direct connection`s info
func (*DirectConnectionInfo) Descriptor ¶ added in v1.3.37
func (*DirectConnectionInfo) Descriptor() ([]byte, []int)
func (*DirectConnectionInfo) Equal ¶ added in v1.3.37
func (this *DirectConnectionInfo) Equal(that interface{}) bool
func (*DirectConnectionInfo) GetShardId ¶ added in v1.3.37
func (m *DirectConnectionInfo) GetShardId() string
func (*DirectConnectionInfo) GoString ¶ added in v1.3.37
func (this *DirectConnectionInfo) GoString() string
func (*DirectConnectionInfo) Marshal ¶ added in v1.3.37
func (m *DirectConnectionInfo) Marshal() (dAtA []byte, err error)
func (*DirectConnectionInfo) MarshalTo ¶ added in v1.3.37
func (m *DirectConnectionInfo) MarshalTo(dAtA []byte) (int, error)
func (*DirectConnectionInfo) MarshalToSizedBuffer ¶ added in v1.3.37
func (m *DirectConnectionInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DirectConnectionInfo) ProtoMessage ¶ added in v1.3.37
func (*DirectConnectionInfo) ProtoMessage()
func (*DirectConnectionInfo) Reset ¶ added in v1.3.37
func (m *DirectConnectionInfo) Reset()
func (*DirectConnectionInfo) Size ¶ added in v1.3.37
func (m *DirectConnectionInfo) Size() (n int)
func (*DirectConnectionInfo) String ¶ added in v1.3.37
func (this *DirectConnectionInfo) String() string
func (*DirectConnectionInfo) Unmarshal ¶ added in v1.3.37
func (m *DirectConnectionInfo) Unmarshal(dAtA []byte) error
func (*DirectConnectionInfo) XXX_DiscardUnknown ¶ added in v1.3.37
func (m *DirectConnectionInfo) XXX_DiscardUnknown()
func (*DirectConnectionInfo) XXX_Marshal ¶ added in v1.3.37
func (m *DirectConnectionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DirectConnectionInfo) XXX_Merge ¶ added in v1.3.37
func (m *DirectConnectionInfo) XXX_Merge(src proto.Message)
func (*DirectConnectionInfo) XXX_Size ¶ added in v1.3.37
func (m *DirectConnectionInfo) XXX_Size() int
func (*DirectConnectionInfo) XXX_Unmarshal ¶ added in v1.3.37
func (m *DirectConnectionInfo) XXX_Unmarshal(b []byte) error
type Message ¶
type Message struct { FromField []byte DataField []byte PayloadField []byte SeqNoField []byte TopicField string SignatureField []byte KeyField []byte PeerField core.PeerID TimestampField int64 }
Message is a data holder struct
func (*Message) IsInterfaceNil ¶
IsInterfaceNil returns true if there is no value under the interface
func (*Message) Key ¶
Key returns the message public key (if it can not be recovered from From field)
func (*Message) Payload ¶ added in v1.0.133
Payload returns the encapsulated message along with meta data such as timestamp
Click to show internal directories.
Click to hide internal directories.