Documentation ¶
Index ¶
- Variables
- type M
- func (*M) Descriptor() ([]byte, []int)deprecated
- func (x *M) GetOp() Op
- func (x *M) GetPds() []*Pd
- func (x *M) GetS() []byte
- func (x *M) GetT() []byte
- func (x *M) GetV() []byte
- func (x *M) GetW() []byte
- func (*M) ProtoMessage()
- func (x *M) ProtoReflect() protoreflect.Message
- func (x *M) Reset()
- func (x *M) String() string
- type Op
- type Pd
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Op_name = map[int32]string{ 0: "GETPEER", 1: "PEER", 2: "DAT", 3: "GET", } Op_value = map[string]int32{ "GETPEER": 0, "PEER": 1, "DAT": 2, "GET": 3, } )
Enum value maps for Op.
View Source
var File_dave_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type M ¶
type M struct { Op Op `protobuf:"varint,1,opt,name=op,proto3,enum=Op" json:"op,omitempty"` Pds []*Pd `protobuf:"bytes,2,rep,name=pds,proto3" json:"pds,omitempty"` V []byte `protobuf:"bytes,3,opt,name=v,proto3" json:"v,omitempty"` T []byte `protobuf:"bytes,4,opt,name=t,proto3" json:"t,omitempty"` S []byte `protobuf:"bytes,5,opt,name=s,proto3" json:"s,omitempty"` W []byte `protobuf:"bytes,6,opt,name=w,proto3" json:"w,omitempty"` // contains filtered or unexported fields }
func (*M) Descriptor
deprecated
func (*M) ProtoMessage ¶
func (*M) ProtoMessage()
func (*M) ProtoReflect ¶
func (x *M) ProtoReflect() protoreflect.Message
type Op ¶
type Op int32
func (Op) Descriptor ¶
func (Op) Descriptor() protoreflect.EnumDescriptor
func (Op) EnumDescriptor
deprecated
func (Op) Number ¶
func (x Op) Number() protoreflect.EnumNumber
func (Op) Type ¶
func (Op) Type() protoreflect.EnumType
type Pd ¶
type Pd struct { Ip []byte `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
func (*Pd) Descriptor
deprecated
func (*Pd) ProtoMessage ¶
func (*Pd) ProtoMessage()
func (*Pd) ProtoReflect ¶
func (x *Pd) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.