Documentation
¶
Overview ¶
Package pipewatcher implements a generic pipe event watcher. This watcher will create/trigger an event when a pipe is opened for reading.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handle ¶
type Handle struct {
// contains filtered or unexported fields
}
Handle is the event watcher implementation.
type Options ¶
type Options struct { // PipePath is the pipe path. PipePath string // Mode is the pipe mode. Mode uint32 // ReadEventID is the event id for the read event. ReadEventID string }
Options are the watcher's extra options.
type PipeData ¶
type PipeData struct {
// contains filtered or unexported fields
}
PipeData wraps the pipe event data.
func NewPipeData ¶
NewPipeData allocates and initializes a new PipeData.
Click to show internal directories.
Click to hide internal directories.