Documentation
¶
Overview ¶
Package cliinput owns cancellable process stdin without detached read workers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
Reader is used by one command goroutine. Close follows its final Read; it does not run concurrently with Read. The source remains owned by the caller.
func (*Reader) Close ¶
Close restores the shared open-file description's nonblocking state, then closes only the owned duplicate. Forced process termination cannot run this restoration; callers must not read the shared source concurrently.