executor

package
v0.0.0-...-c5655c4 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor interface {
	Execute(path string, recs []record.Record) error
	EOT() bool
}

Executor is an interface implemented by an object that executes the []records.

func NewCommonExecutor

func NewCommonExecutor() Executor

NewCommonExecutor creates a new object of common executor

func NewSafeExecutor

func NewSafeExecutor() Executor

NewSafeExecutor creates a new object of safe executor

func NewStdoutExecutor

func NewStdoutExecutor() Executor

NewStdoutExecutor creates a new object of stdout executor.

type Hdr

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

Hdr provides common data fields and methods for all executor types.

func (*Hdr) EOT

func (h *Hdr) EOT() bool

EOT returns true if end of transfer is received

Jump to

Keyboard shortcuts

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