Documentation ¶
Index ¶
- type Node
- func (node *Node) GetFile(hash []byte) ([]byte, error)
- func (node *Node) GetPart(hash []byte) []byte
- func (node *Node) Init(storage_path string, http_port string, udp_port string, tcp_port string)
- func (node *Node) RelayFile(part_table [][]byte)
- func (node *Node) RelayPart(data []byte)
- func (node *Node) Start()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.