Add setup func

Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
Miek Gieben
2020-07-27 10:15:49 +02:00
parent 05751bdb59
commit ef33425487
5 changed files with 193 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
package torrent
// Torrent contains the file data that needs to be torrented.
type Torrent struct {
dbfile string
seed bool
stop chan struct{}
}