aboutsummaryrefslogtreecommitdiff
path: root/cmd/mybittorrent/file.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/mybittorrent/file.go')
-rw-r--r--cmd/mybittorrent/file.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/cmd/mybittorrent/file.go b/cmd/mybittorrent/file.go
deleted file mode 100644
index 498ea3f..0000000
--- a/cmd/mybittorrent/file.go
+++ /dev/null
@@ -1,13 +0,0 @@
-package main
-
-type Meta struct {
- Announce string `bencode:"announce"`
- Info FileInfo `bencode:"info"`
-}
-
-type FileInfo struct {
- Length int `bencode:"length"`
- Name string `bencode:"name"`
- PieceLength int `bencode:"piece length"`
- Pieces string `bencode:"pieces"`
-}