task

package
v0.0.0-...-b46e425 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReportIPTask

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

func NewReportIPTask

func NewReportIPTask(opt option.TaskOpt, ps []provider.Provider) (*ReportIPTask, error)

func (*ReportIPTask) Start

func (r *ReportIPTask) Start() error

func (*ReportIPTask) Stop

func (r *ReportIPTask) Stop() error

type Task

type Task struct {
	ReportIPTask *ReportIPTask
	// contains filtered or unexported fields
}

func NewTask

func NewTask(opt option.TaskOpt, ps []provider.Provider) (*Task, error)

func (Task) Close

func (t Task) Close() error

func (*Task) Run

func (t *Task) Run() error

Jump to

Keyboard shortcuts

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