Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloseCallback ¶
type CloseCallback func()
An CloseCallback is a callback type called when a Writer is closed
type Writer ¶
type Writer struct { Writer io.Writer BeforeClose CloseCallback AfterClose CloseCallback }
Writer implements io.WriteCloser and has callbacks for before and after the underlying writer is closed
Click to show internal directories.
Click to hide internal directories.