Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SyncWriter ¶
type SyncWriter struct {
// contains filtered or unexported fields
}
SyncWriter serializes writes to an underlying writer.
func NewSyncWriter ¶
func NewSyncWriter(writer io.Writer) *SyncWriter
NewSyncWriter wraps writer with a mutex-protected writer.
Click to show internal directories.
Click to hide internal directories.