dave

package
v0.0.40 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2024 License: MIT Imports: 4 Imported by: 2

Documentation

Index

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.

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) Descriptor() ([]byte, []int)

Deprecated: Use M.ProtoReflect.Descriptor instead.

func (*M) GetOp

func (x *M) GetOp() Op

func (*M) GetPds

func (x *M) GetPds() []*Pd

func (*M) GetS added in v0.0.15

func (x *M) GetS() []byte

func (*M) GetT added in v0.0.15

func (x *M) GetT() []byte

func (*M) GetV added in v0.0.15

func (x *M) GetV() []byte

func (*M) GetW added in v0.0.15

func (x *M) GetW() []byte

func (*M) ProtoMessage

func (*M) ProtoMessage()

func (*M) ProtoReflect

func (x *M) ProtoReflect() protoreflect.Message

func (*M) Reset

func (x *M) Reset()

func (*M) String

func (x *M) String() string

type Op

type Op int32
const (
	Op_GETPEER Op = 0
	Op_PEER    Op = 1
	Op_DAT     Op = 2
	Op_GET     Op = 3
)

func (Op) Descriptor

func (Op) Descriptor() protoreflect.EnumDescriptor

func (Op) Enum

func (x Op) Enum() *Op

func (Op) EnumDescriptor deprecated

func (Op) EnumDescriptor() ([]byte, []int)

Deprecated: Use Op.Descriptor instead.

func (Op) Number

func (x Op) Number() protoreflect.EnumNumber

func (Op) String

func (x Op) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Pd.ProtoReflect.Descriptor instead.

func (*Pd) GetIp

func (x *Pd) GetIp() []byte

func (*Pd) GetPort

func (x *Pd) GetPort() uint32

func (*Pd) ProtoMessage

func (*Pd) ProtoMessage()

func (*Pd) ProtoReflect

func (x *Pd) ProtoReflect() protoreflect.Message

func (*Pd) Reset

func (x *Pd) Reset()

func (*Pd) String

func (x *Pd) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL