Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewReaderWithContext ¶
func NewReaderWithContext(ctx context.Context, r ReaderClosure) io.Reader
NewReaderWithContext returns a new 'io.Reader' implementation which cancels reading once the provided 'context.Context' is closed.
Types ¶
Click to show internal directories.
Click to hide internal directories.