file

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Job

type Job struct {
	*plugin.BaseJob
}

func NewJob

func NewJob() *Job

func (*Job) Destroy

func (j *Job) Destroy(ctx context.Context) (err error)

type Task

type Task struct {
	*plugin.BaseTask
	// contains filtered or unexported fields
}

Task

func NewTask

func NewTask() *Task

NewTask Create a new task

func (*Task) Destroy

func (t *Task) Destroy(ctx context.Context) (err error)

Destroy Destroy

func (*Task) Init

func (t *Task) Init(ctx context.Context) (err error)

Init Initialize the task

func (*Task) StartRead

func (t *Task) StartRead(ctx context.Context, sender plugin.RecordSender) (err error)

StartRead Start reading data and send it to the sender

Jump to

Keyboard shortcuts

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