Discover Packages
github.com/zhanghongnian/etcd
pkg
ioutil
package
Version:
v2.2.3+incompatible
Opens a new window with list of versions in this module.
Published: Dec 30, 2015
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.