io

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultReaderClipboard = ReaderClipboard{}
	DefaultWriterClipboard = WriterClipboard{}
)
View Source
var DefaultWriterStdOut = WriterStdOut{}

Functions

This section is empty.

Types

type ReaderClipboard

type ReaderClipboard struct{}

func (ReaderClipboard) Handle

func (cb ReaderClipboard) Handle(ctx context.Context, reqRes *pipeline.HandleRes) (respRes *pipeline.HandleRes, err error)

type WriterClipboard

type WriterClipboard struct{}

func (WriterClipboard) Handle

func (cb WriterClipboard) Handle(ctx context.Context, reqRes *pipeline.HandleRes) (respRes *pipeline.HandleRes, err error)

type WriterFile

type WriterFile struct {
	Path string `json:"path"`
}

func (WriterFile) Build

func (file WriterFile) Build() (pipeline.Handler, error)

func (WriterFile) Handle

func (file WriterFile) Handle(ctx context.Context, reqRes *pipeline.HandleRes) (respRes *pipeline.HandleRes, err error)

type WriterStdOut

type WriterStdOut struct {
}

func (WriterStdOut) Handle

func (stdout WriterStdOut) Handle(ctx context.Context, reqRes *pipeline.HandleRes) (respRes *pipeline.HandleRes, err error)

Jump to

Keyboard shortcuts

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