Documentation ¶ Index ¶ func LimitWriter(w io.Writer, n int64) io.Writer Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func LimitWriter ¶ func LimitWriter(w io.Writer, n int64) io.Writer LimitWriter works like io.LimitReader. It writes at most n bytes to the underlying Writer. It returns io.ErrShortWrite if more than n bytes are attempted to be written. Types ¶ This section is empty. Source Files ¶ View all Source files limit.go Click to show internal directories. Click to hide internal directories.