api

package
v0.0.0-...-fc716ca Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2016 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Overview

Package api implements the Newznab/nZEDb api described here: https://github.com/nZEDb/nZEDb/blob/dev/docs/newznab_api_specification.txt

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunAPIServer

func RunAPIServer(cfg *config.Config)

RunAPIServer sets up and starts a server to provide the NewzNab API

Types

type NZB

type NZB struct {
	Title       string
	Link        string
	Size        int64
	Category    string
	GUID        string
	PermaLink   bool
	Comments    string
	Description string
	Author      string
	Date        time.Time
	Group       string
}

NZB represents a single NZB item in search results.

Jump to

Keyboard shortcuts

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