model/torrent.go
2022-08-03 19:58:31 +02:00

17 lines
371 B
Go

package model
import "time"
type Torrent struct {
ID TorrentID `json:"id"`
Title string `json:"title"`
Link string `json:"link"`
Time time.Time `json:"time"`
Seeders int `json:"seeders"`
Leechers int `json:"leechers"`
Downloads int `json:"downloads"`
Trusted bool `json:"trusted"`
}
type TorrentID string