Discover Packages
github.com/georgemac/etcd
pkg
ioutil
package
Version:
v3.0.0-beta.0+incompat...
Opens a new window with list of versions in this module.
Published: May 6, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package ioutil implements I/O utility functions.
NewLimitedBufferReader returns a reader that reads from the given reader
but limits the amount of data returned to at most n bytes.
WriteAndSyncFile behaves just like ioutil.WriteFile in the standard library,
but calls Sync before closing the file. WriteAndSyncFile guarantees the data
is synced if there is no error returned.
ReaderAndCloser implements io.ReadCloser interface by combining
reader and closer together.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.