io

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2020 License: MPL-2.0, MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseOrStderr

func CloseOrStderr(c std_io.Closer, id string)

CloseOrStderr attempts to close a io.Close implementation and outputs to standard error on failure.

func Rewind

func Rewind(s std_io.Seeker) error

func SyncClose

func SyncClose(sc SyncCloser, id string) error

Types

type SyncCloser

type SyncCloser interface {
	Sync() error
	Close() error
}

Jump to

Keyboard shortcuts

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