Documentation ¶
Overview ¶
Package filter confirms a Demozoo Production is suitable for Defacto2. A MS-DOS intro would be okay, while a demo for the Atari 2600 would be rejected.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ProductionList ¶
type ProductionList struct { Count int `json:"count"` // Count the total productions. Next string `json:"next"` // Next page URL. Previous interface{} `json:"previous"` // Previous page object. Results []releases.ProductionV1 `json:"results"` // Results of the productions. }
ProductionList result.
type Productions ¶
type Productions struct { Filter releases.Filter Count int // Count the total productions. Finds int // Finds are the number of productions to use. Link string // Link URL to receive the request. Code int // Code received by the HTTP request. Status string // Status received by the HTTP request. Timeout time.Duration // Timeout in seconds for the HTTP request (default 5). }
Productions API production request.
func (*Productions) Prods ¶
func (p *Productions) Prods(db *sql.DB, w io.Writer, maxPage int) ([]releases.ProductionV1, error)
Prods gets all the productions of a releaser and normalises the results. The maxPage are the maximum number of API pages to iterate, but if set to 0 it will default to 1000.
Click to show internal directories.
Click to hide internal directories.