Documentation
¶
Overview ¶
Package browserwatcher provides a utility to monitor browser process for crashes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
Watcher watches the browser process to attempt to identify situations where Chrome is crashing.
func NewWatcher ¶
NewWatcher creates a new Watcher and starts it. Returns only when the chrome PID it's watching has been identified.
func (*Watcher) Err ¶
Err returns the first error that was observed or nil if no error was observed.
func (*Watcher) ReplaceErr ¶
ReplaceErr returns the first error that was observed if any. Otherwise, it returns err as-is.
Click to show internal directories.
Click to hide internal directories.