Documentation ¶
Index ¶
- Variables
- type Packet
- func (*Packet) Descriptor() ([]byte, []int)deprecated
- func (x *Packet) GetData() []byte
- func (x *Packet) GetPublicKey() []byte
- func (x *Packet) GetSignature() []byte
- func (x *Packet) GetType() uint32
- func (*Packet) ProtoMessage()
- func (x *Packet) ProtoReflect() protoreflect.Message
- func (x *Packet) Reset()
- func (x *Packet) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_autopeering_server_proto_packet_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Packet ¶
type Packet struct { Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` PublicKey []byte `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*Packet) Descriptor
deprecated
func (*Packet) GetPublicKey ¶
func (*Packet) GetSignature ¶
func (*Packet) ProtoMessage ¶
func (*Packet) ProtoMessage()
func (*Packet) ProtoReflect ¶
func (x *Packet) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.