Change color depending of torrent seeders and piece size.

Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
This commit is contained in:
Antonio Navarro Perez 2020-06-15 11:14:28 +02:00
parent b8392c4c50
commit b59def4718
2 changed files with 25 additions and 2 deletions

View file

@ -35,7 +35,7 @@ type TorrentStats struct {
TimePassed float64 `json:"timePassed"`
PieceChunks []*PieceChunk `json:"pieceChunks"`
TotalPieces int `json:"totalPieces"`
PieceSize int64 `json:"pieceSice"`
PieceSize int64 `json:"pieceSize"`
}
type GlobalTorrentStats struct {