Documentation ¶ Index ¶ type Node func NewNode() *Node type Nodes func NewNodes() *Nodes func (nodes *Nodes) Add(node *Node) func (nodes *Nodes) NewNode(url string) *Node func (nodes *Nodes) NewNodeRequest(body io.ReadCloser) (*Node, error) func (nodes *Nodes) Remove(node *Node) func (nodes *Nodes) ToString() []string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Node ¶ type Node struct { NodeID uint64 URL string } func NewNode ¶ func NewNode() *Node type Nodes ¶ type Nodes struct { Nodes []*Node } func NewNodes ¶ func NewNodes() *Nodes func (*Nodes) Add ¶ func (nodes *Nodes) Add(node *Node) func (*Nodes) NewNode ¶ func (nodes *Nodes) NewNode(url string) *Node func (*Nodes) NewNodeRequest ¶ func (nodes *Nodes) NewNodeRequest(body io.ReadCloser) (*Node, error) func (*Nodes) Remove ¶ func (nodes *Nodes) Remove(node *Node) func (*Nodes) ToString ¶ func (nodes *Nodes) ToString() []string Source Files ¶ View all Source files Node.go Type.go Click to show internal directories. Click to hide internal directories.