Documentation
¶
Index ¶
- Variables
- func Close(ctx context.Context, opts Options, pid uint64) error
- func EnsureBrowser(ctx context.Context, rtOpts cliruntime.Options, brOpts Options) (func(), error)
- func Open(ctx context.Context, opts Options) (uint64, error)
- func Wait(ctx context.Context, opts Options) error
- type Browser
- type LinuxBrowser
- type Options
- type ProcessMatcher
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrBinNotFound = errors.New("no compatible browser was found") ErrProcNotFound = errors.New("process not found") )
Functions ¶
func EnsureBrowser ¶
EnsureBrowser opens a browser if runtime options require it. Returns a cleanup function that must be deferred.
Types ¶
type Browser ¶
type LinuxBrowser ¶
type LinuxBrowser struct {
// contains filtered or unexported fields
}
type Options ¶
func NewDefaultOptions ¶
func NewDefaultOptions() Options
type ProcessMatcher ¶
ProcessMatcher determines if a running process matches the target browser command.
Click to show internal directories.
Click to hide internal directories.