Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrorWriter ¶
type ErrorWriter struct {
// contains filtered or unexported fields
}
Enable calling Write() multiple times in succession, without error checking. ErrorWriter does not write more after an error occurred.
func NewErrorWriter ¶
func NewErrorWriter(w io.Writer) *ErrorWriter
func (ErrorWriter) Status ¶
func (w ErrorWriter) Status() (int, error)
Click to show internal directories.
Click to hide internal directories.