job

package
v1.0.62 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SEQ

func SEQ() uint64

Types

type Job

type Job struct {
	// contains filtered or unexported fields
}

func New

func New(_ref *caffe.Torrent) *Job

func (*Job) Birth

func (j *Job) Birth() mclock.AbsTime

func (*Job) Category

func (j *Job) Category() int

func (*Job) Completed

func (j *Job) Completed(fn func(t *caffe.Torrent) bool) (result chan bool)

func (*Job) End

func (j *Job) End()

func (*Job) ID

func (j *Job) ID() uint64

func (*Job) Ref

func (j *Job) Ref() *caffe.Torrent

func (*Job) Status

func (j *Job) Status() int

Jump to

Keyboard shortcuts

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