Documentation ¶
Index ¶
- type FindNode
- func (*FindNode) Descriptor() ([]byte, []int)
- func (m *FindNode) GetExpiration() int64
- func (m *FindNode) GetID() []byte
- func (m *FindNode) GetN() uint32
- func (m *FindNode) GetTarget() []byte
- func (*FindNode) ProtoMessage()
- func (m *FindNode) Reset()
- func (m *FindNode) String() string
- func (m *FindNode) XXX_DiscardUnknown()
- func (m *FindNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FindNode) XXX_Merge(src proto.Message)
- func (m *FindNode) XXX_Size() int
- func (m *FindNode) XXX_Unmarshal(b []byte) error
- type Neighbors
- func (*Neighbors) Descriptor() ([]byte, []int)
- func (m *Neighbors) GetExpiration() int64
- func (m *Neighbors) GetID() []byte
- func (m *Neighbors) GetNodes() []*Node
- func (*Neighbors) ProtoMessage()
- func (m *Neighbors) Reset()
- func (m *Neighbors) String() string
- func (m *Neighbors) XXX_DiscardUnknown()
- func (m *Neighbors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Neighbors) XXX_Merge(src proto.Message)
- func (m *Neighbors) XXX_Size() int
- func (m *Neighbors) XXX_Unmarshal(b []byte) error
- type Node
- func (*Node) Descriptor() ([]byte, []int)
- func (m *Node) GetExt() []byte
- func (m *Node) GetID() []byte
- func (m *Node) GetIP() []byte
- func (m *Node) GetNet() uint32
- func (m *Node) GetTCP() uint32
- func (m *Node) GetUDP() uint32
- func (*Node) ProtoMessage()
- func (m *Node) Reset()
- func (m *Node) String() string
- func (m *Node) XXX_DiscardUnknown()
- func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Node) XXX_Merge(src proto.Message)
- func (m *Node) XXX_Size() int
- func (m *Node) XXX_Unmarshal(b []byte) error
- type Ping
- func (*Ping) Descriptor() ([]byte, []int)
- func (m *Ping) GetExpiration() int64
- func (m *Ping) GetExt() []byte
- func (m *Ping) GetID() []byte
- func (m *Ping) GetNet() uint32
- func (m *Ping) GetTCP() uint32
- func (*Ping) ProtoMessage()
- func (m *Ping) Reset()
- func (m *Ping) String() string
- func (m *Ping) XXX_DiscardUnknown()
- func (m *Ping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Ping) XXX_Merge(src proto.Message)
- func (m *Ping) XXX_Size() int
- func (m *Ping) XXX_Unmarshal(b []byte) error
- type Pong
- func (*Pong) Descriptor() ([]byte, []int)
- func (m *Pong) GetExpiration() int64
- func (m *Pong) GetID() []byte
- func (m *Pong) GetIP() []byte
- func (m *Pong) GetPing() []byte
- func (*Pong) ProtoMessage()
- func (m *Pong) Reset()
- func (m *Pong) String() string
- func (m *Pong) XXX_DiscardUnknown()
- func (m *Pong) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Pong) XXX_Merge(src proto.Message)
- func (m *Pong) XXX_Size() int
- func (m *Pong) XXX_Unmarshal(b []byte) error
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) XXX_Marshal ¶
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) XXX_Marshal ¶
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:"-"` }
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:"-"` }
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:"-"` }
Click to show internal directories.
Click to hide internal directories.