usenet

package module
v0.0.0-...-fcbe93e Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2016 License: BSD-3-Clause Imports: 22 Imported by: 0

README

Forked From: https://github.com/DanielMorsing/gonzbee

#### go-usenet

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadNzb

func DownloadNzb(nzbFile *nzb.Nzb, dir string) (error, string)

download all the files contained in an nzb,

Types

type ServerConfig

type ServerConfig struct {
	Address  string
	Port     int
	Username string
	Password string
	TLS      bool
}

ServerConfig holds the settings that describe connecting to a server.

var Config ServerConfig

The config variable is the general interface to the config package.

You get the various settings from this variable which is populated at init time.

func (*ServerConfig) GetAddressStr

func (s *ServerConfig) GetAddressStr() string

GetAddressStr returns the colon separated string of a serverconfigs address and port.

Directories

Path Synopsis
Package nntp provides some common operations on nntp server, mostly for binary downloading
Package nntp provides some common operations on nntp server, mostly for binary downloading
Package nzb provides a function for parsing NZB files.
Package nzb provides a function for parsing NZB files.
Package yenc gives a decoding interface for yEnc encoded binaries.
Package yenc gives a decoding interface for yEnc encoded binaries.

Jump to

Keyboard shortcuts

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