nio

package
v0.0.0-...-988fe51 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2019 License: Unlicense Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Noop

type Noop struct{}

Noop is a struct used as a container for all `io` methods to satisfy all `io` interfaces.

func (Noop) Close

func (n Noop) Close() error

Close returns nil.

func (Noop) Read

func (n Noop) Read([]byte) (int, error)

Read returns 0, nil.

func (Noop) ReadAt

func (n Noop) ReadAt([]byte, int64) (int, error)

ReadAt returns 0, nil.

func (Noop) ReadByte

func (n Noop) ReadByte() (byte, error)

ReadByte returns 0, nil.

func (Noop) ReadFrom

func (n Noop) ReadFrom(io.Reader) (int64, error)

ReadFrom returns 0, nil.

func (Noop) ReadRune

func (n Noop) ReadRune() (rune, int, error)

ReadRune returns 0, 0, nil.

func (Noop) Seek

func (n Noop) Seek(int64, int) (int64, error)

Seek returns 0, nil.

func (Noop) UnreadByte

func (n Noop) UnreadByte() error

UnreadByte returns nil.

func (Noop) UnreadRune

func (n Noop) UnreadRune() error

UnreadRune returns nil.

func (Noop) Write

func (n Noop) Write([]byte) (int, error)

Write returns 0, nil.

func (Noop) WriteAt

func (n Noop) WriteAt([]byte, int64) (int, error)

WriteAt return 0, nil.

func (Noop) WriteString

func (n Noop) WriteString(string) (int, error)

WriteString returns 0, nil.

func (Noop) WriteTo

func (n Noop) WriteTo(io.Writer) (int64, error)

WriteTo returns 0, nil.

Jump to

Keyboard shortcuts

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