package
2.3.8+incompatible
Repository: https://github.com/etcd-io/etcd.git
Documentation: pkg.go.dev

# 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.

# Structs

ReaderAndCloser implements io.ReadCloser interface by combining reader and closer together.