null

package
v0.0.0-...-e081c89 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2024 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package null provides the null interface (akin to /dev/null). It is REQUIRED by murex!

Index

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) Close

func (t *Null) Close()

Close - null interface

func (*Null) DefaultDataType

func (t *Null) DefaultDataType(bool)

DefaultDataType - null interface

func (*Null) File

func (t *Null) File() *os.File

func (*Null) ForceClose

func (t *Null) ForceClose()

ForceClose - null interface

func (*Null) GetDataType

func (t *Null) GetDataType() string

GetDataType - null interface

func (*Null) IsTTY

func (t *Null) IsTTY() bool

IsTTY - null interface

func (*Null) Open

func (t *Null) Open()

Open - null interface

func (*Null) Read

func (t *Null) Read([]byte) (int, error)

Read - null interface

func (*Null) ReadAll

func (t *Null) ReadAll() ([]byte, error)

ReadAll - null interface

func (*Null) ReadArray

func (t *Null) ReadArray(context.Context, func([]byte)) error

ReadArray - null interface

func (*Null) ReadArrayWithType

func (t *Null) ReadArrayWithType(context.Context, func(interface{}, string)) error

ReadArrayWithType - null interface

func (*Null) ReadLine

func (t *Null) ReadLine(func([]byte)) error

ReadLine - null interface

func (*Null) ReadMap

func (t *Null) ReadMap(*config.Config, func(*stdio.Map)) error

ReadMap - null interface

func (*Null) SetDataType

func (t *Null) SetDataType(string)

SetDataType - null interface

func (*Null) Stats

func (t *Null) Stats() (uint64, uint64)

Stats - null interface

func (*Null) Write

func (t *Null) Write(b []byte) (int, error)

Write - null interface

func (*Null) WriteArray

func (t *Null) WriteArray(dataType string) (stdio.ArrayWriter, error)

WriteArray - null interface

func (*Null) WriteTo

func (t *Null) WriteTo(io.Writer) (int64, error)

WriteTo - null interface

func (*Null) Writeln

func (t *Null) Writeln(b []byte) (int, error)

Writeln - null interface

Jump to

Keyboard shortcuts

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