stream

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2021 License: GPL-3.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fail

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

func (Fail) Error

func (e Fail) Error() string

func (Fail) Unwrap

func (e Fail) Unwrap() error

type In

type In struct {
	InFile
}

func (*In) Set

func (in *In) Set(s string) (err error)

func (In) String

func (s In) String() string

func (*In) UnmarshalJSON

func (in *In) UnmarshalJSON(b []byte) (err error)

type InFile

type InFile struct {
	io.ReadCloser
	// contains filtered or unexported fields
}

func (InFile) Reader

func (in InFile) Reader() (r *bufio.Reader)

func (InFile) Scanner

func (in InFile) Scanner() (s *bufio.Scanner)

func (*InFile) Set

func (in *InFile) Set(s string) (err error)

func (InFile) String

func (s InFile) String() string

func (*InFile) UnmarshalJSON

func (in *InFile) UnmarshalJSON(b []byte) (err error)

type Name

type Name string

type Operation

type Operation int
const (
	Read Operation = iota
	Write
)

func (Operation) String

func (op Operation) String() (s string)

type Out

type Out struct {
	OutFile
}

func (*Out) Default

func (o *Out) Default()

func (*Out) Set

func (o *Out) Set(s string) (err error)

func (Out) String

func (s Out) String() string

func (*Out) UnmarshalJSON

func (o *Out) UnmarshalJSON(b []byte) (err error)

type OutFile

type OutFile struct {
	io.WriteCloser
	// contains filtered or unexported fields
}

func DefaultOut

func DefaultOut() OutFile

func (OutFile) BufWriter

func (o OutFile) BufWriter() (w *bufio.Writer)

func (*OutFile) Set

func (o *OutFile) Set(s string) (err error)

func (OutFile) String

func (s OutFile) String() string

func (*OutFile) UnmarshalJSON

func (o *OutFile) UnmarshalJSON(b []byte) (err error)

Jump to

Keyboard shortcuts

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