tasks

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: Apache-2.0 Imports: 2 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReadSeekerProvider

type ReadSeekerProvider func(ctx context.Context) (io.ReadSeeker, error)

ReadSeekerProvider describes io.ReadSeeker provider.

type ReaderProvider

type ReaderProvider func(ctx context.Context) (io.Reader, error)

ReaderProvider describes io.Reader provider.

type Task

type Task interface {
	Run(ctx context.Context) error
}

Task describes task contract.

type WriterProvider

type WriterProvider func(ctx context.Context) (io.Writer, error)

WriterProvider describes io.Writer provider.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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