Discover Packages
github.com/endocode/etcd
pkg
ioutil
package
Version:
v2.3.0-alpha.1+incompa...
Opens a new window with list of versions in this module.
Published: Feb 17, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 2
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.