Documentation ¶
Index ¶
Constants ¶
View Source
const (
ZeroMQ databaseEngine = iota + 1
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type SimpleTorrentSummary ¶
type Statistics ¶
type TorrentMetadata ¶
type TorrentMetadata struct { ID uint64 `json:"id"` InfoHash []byte `json:"infoHash"` // marshalled differently Name string `json:"name"` Size uint64 `json:"size"` DiscoveredOn int64 `json:"discoveredOn"` NFiles uint `json:"nFiles"` Relevance float64 `json:"relevance"` }
func (*TorrentMetadata) MarshalJSON ¶
func (tm *TorrentMetadata) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.