protos

package
v2.11.3-rc2 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Findnode

type Findnode struct {
	Target               []byte   `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	Count                uint32   `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	Time                 int64    `protobuf:"varint,3,opt,name=time,proto3" json:"time,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Findnode) Descriptor

func (*Findnode) Descriptor() ([]byte, []int)

func (*Findnode) GetCount

func (m *Findnode) GetCount() uint32

func (*Findnode) GetTarget

func (m *Findnode) GetTarget() []byte

func (*Findnode) GetTime

func (m *Findnode) GetTime() int64

func (*Findnode) ProtoMessage

func (*Findnode) ProtoMessage()

func (*Findnode) Reset

func (m *Findnode) Reset()

func (*Findnode) String

func (m *Findnode) String() string

func (*Findnode) XXX_DiscardUnknown

func (m *Findnode) XXX_DiscardUnknown()

func (*Findnode) XXX_Marshal

func (m *Findnode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Findnode) XXX_Merge

func (m *Findnode) XXX_Merge(src proto.Message)

func (*Findnode) XXX_Size

func (m *Findnode) XXX_Size() int

func (*Findnode) XXX_Unmarshal

func (m *Findnode) XXX_Unmarshal(b []byte) error

type Neighbors

type Neighbors struct {
	Nodes                [][]byte `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	Last                 bool     `protobuf:"varint,2,opt,name=last,proto3" json:"last,omitempty"`
	Time                 int64    `protobuf:"varint,3,opt,name=time,proto3" json:"time,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Neighbors) Descriptor

func (*Neighbors) Descriptor() ([]byte, []int)

func (*Neighbors) GetLast

func (m *Neighbors) GetLast() bool

func (*Neighbors) GetNodes

func (m *Neighbors) GetNodes() [][]byte

func (*Neighbors) GetTime

func (m *Neighbors) GetTime() int64

func (*Neighbors) ProtoMessage

func (*Neighbors) ProtoMessage()

func (*Neighbors) Reset

func (m *Neighbors) Reset()

func (*Neighbors) String

func (m *Neighbors) String() string

func (*Neighbors) XXX_DiscardUnknown

func (m *Neighbors) XXX_DiscardUnknown()

func (*Neighbors) XXX_Marshal

func (m *Neighbors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Neighbors) XXX_Merge

func (m *Neighbors) XXX_Merge(src proto.Message)

func (*Neighbors) XXX_Size

func (m *Neighbors) XXX_Size() int

func (*Neighbors) XXX_Unmarshal

func (m *Neighbors) XXX_Unmarshal(b []byte) error

type Node

type Node struct {
	Id                   []byte   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Endpoint             []byte   `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	Net                  uint32   `protobuf:"varint,3,opt,name=net,proto3" json:"net,omitempty"`
	Ext                  []byte   `protobuf:"bytes,4,opt,name=ext,proto3" json:"ext,omitempty"`
	ActiveAt             int64    `protobuf:"varint,5,opt,name=activeAt,proto3" json:"activeAt,omitempty"`
	CheckAt              int64    `protobuf:"varint,6,opt,name=checkAt,proto3" json:"checkAt,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Node) Descriptor

func (*Node) Descriptor() ([]byte, []int)

func (*Node) GetActiveAt

func (m *Node) GetActiveAt() int64

func (*Node) GetCheckAt

func (m *Node) GetCheckAt() int64

func (*Node) GetEndpoint

func (m *Node) GetEndpoint() []byte

func (*Node) GetExt

func (m *Node) GetExt() []byte

func (*Node) GetId

func (m *Node) GetId() []byte

func (*Node) GetNet

func (m *Node) GetNet() uint32

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) Reset

func (m *Node) Reset()

func (*Node) String

func (m *Node) String() string

func (*Node) XXX_DiscardUnknown

func (m *Node) XXX_DiscardUnknown()

func (*Node) XXX_Marshal

func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Node) XXX_Merge

func (m *Node) XXX_Merge(src proto.Message)

func (*Node) XXX_Size

func (m *Node) XXX_Size() int

func (*Node) XXX_Unmarshal

func (m *Node) XXX_Unmarshal(b []byte) error

type Ping

type Ping struct {
	From                 []byte   `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	To                   []byte   `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	Net                  uint32   `protobuf:"varint,3,opt,name=net,proto3" json:"net,omitempty"`
	Ext                  []byte   `protobuf:"bytes,4,opt,name=ext,proto3" json:"ext,omitempty"`
	Time                 int64    `protobuf:"varint,5,opt,name=time,proto3" json:"time,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Ping) Descriptor

func (*Ping) Descriptor() ([]byte, []int)

func (*Ping) GetExt

func (m *Ping) GetExt() []byte

func (*Ping) GetFrom

func (m *Ping) GetFrom() []byte

func (*Ping) GetNet

func (m *Ping) GetNet() uint32

func (*Ping) GetTime

func (m *Ping) GetTime() int64

func (*Ping) GetTo

func (m *Ping) GetTo() []byte

func (*Ping) ProtoMessage

func (*Ping) ProtoMessage()

func (*Ping) Reset

func (m *Ping) Reset()

func (*Ping) String

func (m *Ping) String() string

func (*Ping) XXX_DiscardUnknown

func (m *Ping) XXX_DiscardUnknown()

func (*Ping) XXX_Marshal

func (m *Ping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Ping) XXX_Merge

func (m *Ping) XXX_Merge(src proto.Message)

func (*Ping) XXX_Size

func (m *Ping) XXX_Size() int

func (*Ping) XXX_Unmarshal

func (m *Ping) XXX_Unmarshal(b []byte) error

type Pong

type Pong struct {
	From                 []byte   `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	To                   []byte   `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	Echo                 []byte   `protobuf:"bytes,3,opt,name=echo,proto3" json:"echo,omitempty"`
	Net                  uint32   `protobuf:"varint,4,opt,name=net,proto3" json:"net,omitempty"`
	Ext                  []byte   `protobuf:"bytes,5,opt,name=ext,proto3" json:"ext,omitempty"`
	Time                 int64    `protobuf:"varint,6,opt,name=time,proto3" json:"time,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Pong) Descriptor

func (*Pong) Descriptor() ([]byte, []int)

func (*Pong) GetEcho

func (m *Pong) GetEcho() []byte

func (*Pong) GetExt

func (m *Pong) GetExt() []byte

func (*Pong) GetFrom

func (m *Pong) GetFrom() []byte

func (*Pong) GetNet

func (m *Pong) GetNet() uint32

func (*Pong) GetTime

func (m *Pong) GetTime() int64

func (*Pong) GetTo

func (m *Pong) GetTo() []byte

func (*Pong) ProtoMessage

func (*Pong) ProtoMessage()

func (*Pong) Reset

func (m *Pong) Reset()

func (*Pong) String

func (m *Pong) String() string

func (*Pong) XXX_DiscardUnknown

func (m *Pong) XXX_DiscardUnknown()

func (*Pong) XXX_Marshal

func (m *Pong) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Pong) XXX_Merge

func (m *Pong) XXX_Merge(src proto.Message)

func (*Pong) XXX_Size

func (m *Pong) XXX_Size() int

func (*Pong) XXX_Unmarshal

func (m *Pong) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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