Documentation
¶
Overview ¶
Package null provides the null interface (akin to /dev/null). It is REQUIRED by murex!
Index ¶
- type Null
- func (t *Null) Close()
- func (t *Null) DefaultDataType(bool)
- func (t *Null) File() *os.File
- func (t *Null) ForceClose()
- func (t *Null) GetDataType() string
- func (t *Null) IsTTY() bool
- func (t *Null) Open()
- func (t *Null) Read([]byte) (int, error)
- func (t *Null) ReadAll() ([]byte, error)
- func (t *Null) ReadArray(context.Context, func([]byte)) error
- func (t *Null) ReadArrayWithType(context.Context, func(interface{}, string)) error
- func (t *Null) ReadLine(func([]byte)) error
- func (t *Null) ReadMap(*config.Config, func(*stdio.Map)) error
- func (t *Null) SetDataType(string)
- func (t *Null) Stats() (uint64, uint64)
- func (t *Null) Write(b []byte) (int, error)
- func (t *Null) WriteArray(dataType string) (stdio.ArrayWriter, error)
- func (t *Null) WriteTo(io.Writer) (int64, error)
- func (t *Null) Writeln(b []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Null ¶
type Null struct{}
Null is null interface for named pipes
func (*Null) DefaultDataType ¶
DefaultDataType - null interface
func (*Null) ReadArrayWithType ¶
ReadArrayWithType - null interface
func (*Null) WriteArray ¶
func (t *Null) WriteArray(dataType string) (stdio.ArrayWriter, error)
WriteArray - null interface
Click to show internal directories.
Click to hide internal directories.