file

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2019 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ByteStreamType = reflect.TypeOf((*ByteStream)(nil)).Elem()

Functions

This section is empty.

Types

type ByteStream

type ByteStream interface {
	Read(bytes *[]byte) int // 0 means eof, -1 means error
}

type LocalFileByteStream

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

func (*LocalFileByteStream) Read

func (bs *LocalFileByteStream) Read(bytes *[]byte) int

type Reader

type Reader struct{}

func (*Reader) InType

func (r *Reader) InType() reflect.Type

func (*Reader) Materialize

func (r *Reader) Materialize() func(input interface{}) interface{}

func (*Reader) OutType

func (r *Reader) OutType() reflect.Type

type Source

type Source struct {
	Path string
}

func (*Source) Commit

func (*Source) OutType

func (s *Source) OutType() reflect.Type

func (*Source) Run

func (s *Source) Run(ctx *goconnect.Context)

type Text

type Text struct {
}

func (*Text) InType

func (r *Text) InType() reflect.Type

func (*Text) Materialize

func (r *Text) Materialize() func(input *goconnect.Element, context goconnect.PContext)

func (*Text) OutType

func (r *Text) OutType() reflect.Type

Jump to

Keyboard shortcuts

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