New go fmt on doc comments
This commit is contained in:
parent
330d23be22
commit
50a665f278
22
doc.go
22
doc.go
|
@ -1,19 +1,19 @@
|
|||
/*
|
||||
Package torrent implements a torrent client. Goals include:
|
||||
* Configurable data storage, such as file, mmap, and piece-based.
|
||||
* Downloading on demand: torrent.Reader will request only the data required to
|
||||
- Configurable data storage, such as file, mmap, and piece-based.
|
||||
- Downloading on demand: torrent.Reader will request only the data required to
|
||||
satisfy Reads, which is ideal for streaming and torrentfs.
|
||||
|
||||
BitTorrent features implemented include:
|
||||
* Protocol obfuscation
|
||||
* DHT
|
||||
* uTP
|
||||
* PEX
|
||||
* Magnet links
|
||||
* IP Blocklists
|
||||
* Some IPv6
|
||||
* HTTP and UDP tracker clients
|
||||
* BEPs:
|
||||
- Protocol obfuscation
|
||||
- DHT
|
||||
- uTP
|
||||
- PEX
|
||||
- Magnet links
|
||||
- IP Blocklists
|
||||
- Some IPv6
|
||||
- HTTP and UDP tracker clients
|
||||
- BEPs:
|
||||
- 3: Basic BitTorrent protocol
|
||||
- 5: DHT
|
||||
- 6: Fast Extension (have all/none only)
|
||||
|
|
|
@ -30,6 +30,7 @@ type TorrentImpl struct {
|
|||
}
|
||||
|
||||
// Interacts with torrent piece data. Optional interfaces to implement include:
|
||||
//
|
||||
// io.WriterTo, such as when a piece supports a more efficient way to write out incomplete chunks.
|
||||
// SelfHashing, such as when a piece supports a more efficient way to hash its contents.
|
||||
type PieceImpl interface {
|
||||
|
|
Loading…
Reference in New Issue