Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Nzb ¶
type Nzb struct { File []File `xml:"file"` JobName string DoneCount int32 FailedCount int32 TotalCount int32 // contains filtered or unexported fields }
func (*Nzb) EnqueueFetches ¶
func (n *Nzb) EnqueueFetches(workQueue chan *SegmentRequest, fetchPar2 bool)
type SegmentRequest ¶
type SegmentRequest struct { MessageID string Bytes int64 // contains filtered or unexported fields }
func (*SegmentRequest) BuildWriter ¶
func (s *SegmentRequest) BuildWriter(outDir string, filename string) (WriterAtCloser, error)
func (*SegmentRequest) Done ¶
func (s *SegmentRequest) Done(fail bool)
func (*SegmentRequest) FailServer ¶
func (s *SegmentRequest) FailServer(server string, numServers int)
func (*SegmentRequest) Queue ¶
func (s *SegmentRequest) Queue()
func (*SegmentRequest) RequeueIfFailed ¶
func (s *SegmentRequest) RequeueIfFailed(server string) bool
Click to show internal directories.
Click to hide internal directories.