Documentation ¶
Overview ¶
Package spywrite provides various I/O implementations with known errors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flusher ¶
type Flusher struct {
// contains filtered or unexported fields
}
A Flusher is a spy for the Flush portion of zap.WriteFlusher.
type ShortWriter ¶
type ShortWriter struct{}
ShortWriter is an io.Writer that never returns an error, but doesn't write the last byte of the input.
type Syncer ¶
type Syncer struct {
// contains filtered or unexported fields
}
A Syncer is a spy for the Sync portion of zap.WriteSyncer.
type WriteFlushSyncer ¶
A WriteFlushSyncer implements both zap.WriteFlusher and zap.WriteSyncer.
type WriteFlusher ¶
WriteFlusher is a concrete type that implements zap.WriteFlusher.
type WriteSyncer ¶
WriteSyncer is a concrete type that implements zap.WriteSyncer.
Click to show internal directories.
Click to hide internal directories.