Documentation
¶
Index ¶
Constants ¶
View Source
const ( LogFormatLogfmt = "logfmt" LogFormatJSON = "json" )
Variables ¶
This section is empty.
Functions ¶
func ExhaustCloseWithLogOnErr ¶
func ExhaustCloseWithLogOnErr(logger log.Logger, rc io.ReadCloser)
ExhaustCloseWithLogOnErr closes the io.ReadCloser with a log message on error but exhausts the reader before.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.