protos

package
v1.2.3-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2019 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 {
	ID                   []byte   `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Target               []byte   `protobuf:"bytes,2,opt,name=Target,proto3" json:"Target,omitempty"`
	Expiration           int64    `protobuf:"varint,3,opt,name=Expiration,proto3" json:"Expiration,omitempty"`
	N                    uint32   `protobuf:"varint,4,opt,name=N,proto3" json:"N,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FindNode) Descriptor

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

func (*FindNode) GetExpiration

func (m *FindNode) GetExpiration() int64

func (*FindNode) GetID

func (m *FindNode) GetID() []byte

func (*FindNode) GetN added in v1.2.0

func (m *FindNode) GetN() uint32

func (*FindNode) GetTarget

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

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 {
	ID                   []byte   `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Nodes                []*Node  `protobuf:"bytes,2,rep,name=Nodes,proto3" json:"Nodes,omitempty"`
	Expiration           int64    `protobuf:"varint,3,opt,name=Expiration,proto3" json:"Expiration,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Neighbors) Descriptor

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

func (*Neighbors) GetExpiration

func (m *Neighbors) GetExpiration() int64

func (*Neighbors) GetID

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

func (*Neighbors) GetNodes

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

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"`
	IP                   []byte   `protobuf:"bytes,2,opt,name=IP,proto3" json:"IP,omitempty"`
	UDP                  uint32   `protobuf:"varint,3,opt,name=UDP,proto3" json:"UDP,omitempty"`
	TCP                  uint32   `protobuf:"varint,4,opt,name=TCP,proto3" json:"TCP,omitempty"`
	Net                  uint32   `protobuf:"varint,5,opt,name=Net,proto3" json:"Net,omitempty"`
	Ext                  []byte   `protobuf:"bytes,6,opt,name=Ext,proto3" json:"Ext,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Node) Descriptor

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

func (*Node) GetExt added in v1.2.0

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

func (*Node) GetID

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

func (*Node) GetIP

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

func (*Node) GetNet

func (m *Node) GetNet() uint32

func (*Node) GetTCP

func (m *Node) GetTCP() uint32

func (*Node) GetUDP

func (m *Node) GetUDP() 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 {
	ID                   []byte   `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	TCP                  uint32   `protobuf:"varint,2,opt,name=TCP,proto3" json:"TCP,omitempty"`
	Expiration           int64    `protobuf:"varint,3,opt,name=Expiration,proto3" json:"Expiration,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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Ping) Descriptor

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

func (*Ping) GetExpiration

func (m *Ping) GetExpiration() int64

func (*Ping) GetExt added in v1.2.0

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

func (*Ping) GetID

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

func (*Ping) GetNet added in v1.2.0

func (m *Ping) GetNet() uint32

func (*Ping) GetTCP

func (m *Ping) GetTCP() uint32

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 {
	ID                   []byte   `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Ping                 []byte   `protobuf:"bytes,2,opt,name=Ping,proto3" json:"Ping,omitempty"`
	IP                   []byte   `protobuf:"bytes,3,opt,name=IP,proto3" json:"IP,omitempty"`
	Expiration           int64    `protobuf:"varint,4,opt,name=Expiration,proto3" json:"Expiration,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Pong) Descriptor

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

func (*Pong) GetExpiration

func (m *Pong) GetExpiration() int64

func (*Pong) GetID

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

func (*Pong) GetIP

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

func (*Pong) GetPing

func (m *Pong) GetPing() []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