Documentation ¶
Index ¶
- type Findnode
- func (*Findnode) Descriptor() ([]byte, []int)
- func (m *Findnode) GetCount() uint32
- func (m *Findnode) GetTarget() []byte
- func (m *Findnode) GetTime() int64
- 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) GetLast() bool
- func (m *Neighbors) GetNodes() [][]byte
- func (m *Neighbors) GetTime() int64
- 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) GetActiveAt() int64
- func (m *Node) GetCheckAt() int64
- func (m *Node) GetEndpoint() []byte
- func (m *Node) GetExt() []byte
- func (m *Node) GetId() []byte
- func (m *Node) GetNet() 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) GetExt() []byte
- func (m *Ping) GetFrom() []byte
- func (m *Ping) GetNet() uint32
- func (m *Ping) GetTime() int64
- func (m *Ping) GetTo() []byte
- 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) GetEcho() []byte
- func (m *Pong) GetExt() []byte
- func (m *Pong) GetFrom() []byte
- func (m *Pong) GetNet() uint32
- func (m *Pong) GetTime() int64
- func (m *Pong) GetTo() []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 { 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) XXX_Marshal ¶
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) XXX_Marshal ¶
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:"-"` }
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:"-"` }
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:"-"` }
Click to show internal directories.
Click to hide internal directories.