Documentation ¶
Overview ¶
Package blockwriter is not currently used, but it's useful code we may need
It maintains a buffered queue for writing blocks ¶
TODO: Delete when confirmed not to be needed
Index ¶
Constants ¶
View Source
const ErrClosed errorType = "writer closed"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockWriter ¶
type BlockWriter struct {
// contains filtered or unexported fields
}
func NewBlockWriter ¶
func NewBlockWriter(underlying io.Writer, maxSize uint64, handleError ErrorHandler) *BlockWriter
func (*BlockWriter) Close ¶
func (bq *BlockWriter) Close() error
type ErrorHandler ¶
Click to show internal directories.
Click to hide internal directories.