Discover Packages
github.com/jlhawn/etcd
pkg
ioutil
package
Version:
v2.2.5+incompatible
Opens a new window with list of versions in this module.
Published: Feb 1, 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
¶
NewLimitedBufferReader returns a reader that reads from the given reader
but limits the amount of data returned to at most n bytes.
WriteAndSyncFile behaviors just like ioutil.WriteFile in standard library
but calls Sync before closing the file. WriteAndSyncFile guarantees the data
is synced if there is no error returned.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.