revert reader state

This commit is contained in:
YouROK
2021-05-27 12:33:29 +03:00
parent 5c5a202e7a
commit 6fb9b56b63
5 changed files with 9 additions and 22 deletions

View File

@@ -1,9 +1,5 @@
package state
import (
"server/torr/storage/reader"
)
type TorrentStat int
func (t TorrentStat) String() string {
@@ -66,8 +62,6 @@ type TorrentStatus struct {
PiecesDirtiedGood int64 `json:"pieces_dirtied_good,omitempty"`
PiecesDirtiedBad int64 `json:"pieces_dirtied_bad,omitempty"`
Readers []*reader.ReaderState `json:"readers,omitempty"`
FileStats []*TorrentFileStat `json:"file_stats,omitempty"`
}