Documentation
¶
Overview ¶
Package fileutils defines generic file utilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextualReaderWrapper ¶
type ContextualReaderWrapper struct {
// contains filtered or unexported fields
}
ContextualReaderWrapper is a wrapper around an existing io.Reader that allows for the interruption of reads with the cancellation of a context.
func NewContextualReaderWrapper ¶
func NewContextualReaderWrapper(ctx context.Context, reader io.Reader) *ContextualReaderWrapper
NewContextualReaderWrapper initializes a new ContextualReaderWrapper.
Click to show internal directories.
Click to hide internal directories.