torrentpotato

package
v1.9.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(w http.ResponseWriter, err error)

func Output

func Output(w http.ResponseWriter, items []torznab.ResultItem)

Types

type Result

type Result struct {
	ReleaseName string `json:"release_name"`
	TorrentID   string `json:"torrent_id"`
	DetailsURL  string `json:"details_url"`
	DownloadURL string `json:"download_url"`
	ImdbID      string `json:"imdb_id"`
	Freeleech   bool   `json:"freeleech"`
	Type        string `json:"type"`
	Size        int    `json:"size"`
	Leechers    int    `json:"leechers"`
	Seeders     int    `json:"seeders"`
}

type Results

type Results struct {
	Results      []Result `json:"results"`
	TotalResults int      `json:"total_results"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL