work

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command added in v1.1.4

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

func NewCommand added in v1.1.4

func NewCommand(builder *gex.Builder) *Command

func (*Command) Work added in v1.1.4

func (c *Command) Work(logger log.Logger) (err error)

type File

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

func NewFile

func NewFile(names ...string) *File

func (*File) Work

func (f *File) Work(logger log.Logger) (err error)

type Worker

type Worker interface {
	Work(logger log.Logger) (err error)
}

type Write

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

func NewWrite

func NewWrite(filename string, data []byte, mode os.FileMode) *Write

func (*Write) Work

func (w *Write) Work(_ log.Logger) error

Jump to

Keyboard shortcuts

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