Documentation ¶
Index ¶
- Variables
- type HandshakeRequest
- func (*HandshakeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HandshakeRequest) GetTimestamp() int64
- func (x *HandshakeRequest) GetTo() string
- func (x *HandshakeRequest) GetVersion() uint32
- func (*HandshakeRequest) ProtoMessage()
- func (x *HandshakeRequest) ProtoReflect() protoreflect.Message
- func (x *HandshakeRequest) Reset()
- func (x *HandshakeRequest) String() string
- type HandshakeResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var File_handshake_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type HandshakeRequest ¶
type HandshakeRequest struct { // protocol version number Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // string form of the recipient address To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` // unix time Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*HandshakeRequest) Descriptor
deprecated
func (*HandshakeRequest) Descriptor() ([]byte, []int)
Deprecated: Use HandshakeRequest.ProtoReflect.Descriptor instead.
func (*HandshakeRequest) GetTimestamp ¶
func (x *HandshakeRequest) GetTimestamp() int64
func (*HandshakeRequest) GetTo ¶
func (x *HandshakeRequest) GetTo() string
func (*HandshakeRequest) GetVersion ¶
func (x *HandshakeRequest) GetVersion() uint32
func (*HandshakeRequest) ProtoMessage ¶
func (*HandshakeRequest) ProtoMessage()
func (*HandshakeRequest) ProtoReflect ¶ added in v0.2.3
func (x *HandshakeRequest) ProtoReflect() protoreflect.Message
func (*HandshakeRequest) Reset ¶
func (x *HandshakeRequest) Reset()
func (*HandshakeRequest) String ¶
func (x *HandshakeRequest) String() string
type HandshakeResponse ¶
type HandshakeResponse struct { // hash of the ping packet ReqHash []byte `protobuf:"bytes,1,opt,name=req_hash,json=reqHash,proto3" json:"req_hash,omitempty"` // contains filtered or unexported fields }
func (*HandshakeResponse) Descriptor
deprecated
func (*HandshakeResponse) Descriptor() ([]byte, []int)
Deprecated: Use HandshakeResponse.ProtoReflect.Descriptor instead.
func (*HandshakeResponse) GetReqHash ¶
func (x *HandshakeResponse) GetReqHash() []byte
func (*HandshakeResponse) ProtoMessage ¶
func (*HandshakeResponse) ProtoMessage()
func (*HandshakeResponse) ProtoReflect ¶ added in v0.2.3
func (x *HandshakeResponse) ProtoReflect() protoreflect.Message
func (*HandshakeResponse) Reset ¶
func (x *HandshakeResponse) Reset()
func (*HandshakeResponse) String ¶
func (x *HandshakeResponse) String() string
Click to show internal directories.
Click to hide internal directories.