torrent/builder.go | 3 +++ diff --git a/torrent/builder.go b/torrent/builder.go index 95ed88168e0086d6417f375c8053038243360ef9..6dd6eb6b8dfad967009f4d188b4ed4b0b69d9b58 100644 --- a/torrent/builder.go +++ b/torrent/builder.go @@ -12,6 +12,9 @@ "io" "os" ) +// The Builder type is responsible for .torrent files construction. Just +// instantiate it, call necessary methods and then call the .Build method. While +// waiting for completion you can use 'status' channel to get status reports. type Builder struct { filesmap map[string]bool files []file