tasks

package
v2.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

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