io

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyDeadline

func CopyDeadline(time time.Time, dst _io.Writer, src _io.Reader) (int64, error)

func TrySetReadDeadline

func TrySetReadDeadline(t time.Time, s _io.Reader) error

func TrySetWriteDeadline

func TrySetWriteDeadline(t time.Time, s _io.Writer) error

Types

type CloseReader

type CloseReader interface {
	_io.Reader
	CloseRead() error
}

type CloseWriter

type CloseWriter interface {
	_io.Writer
	CloseWrite() error
}

type DeadlineReader

type DeadlineReader interface {
	_io.Reader
	SetReadDeadline(t time.Time) error
}

type DeadlineWriter

type DeadlineWriter interface {
	_io.Reader
	SetWriteDeadline(t time.Time) error
}

Jump to

Keyboard shortcuts

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