io

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WriteSyncer

type WriteSyncer interface {
	io.Writer
	io.Closer
	// Sync commits the current contents of the WriteSyncer to stable storage.
	// Typically, this means flushing the file system's in-memory copy of recently written data to disk.
	Sync() error
}

WriteSyncer is the interface that groups the basic Write, Sync and Close methods.

Jump to

Keyboard shortcuts

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