browserpool

package
v1.5.158 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2026 License: MIT Imports: 17 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package browserpool assembles the trusted per-profile browser broker. Browser automation sees only conversation sockets; operator credentials stay here.

Index

Constants

View Source
const HelperFlag = "--golder-browser-hub"

Variables

This section is empty.

Functions

func Open

func Open(ctx context.Context, opts browserhost.SharedOptions, conversation, instance, url string) (*browserhost.RemoteView, error)

Open starts the broker once when needed; concurrent helpers arbitrate using its process lock. Requests are never automatically replayed after dispatch.

func Options

func Options(profile, login, proxy string) (browserhost.SharedOptions, error)

Options derives stable private paths from the profile, not a frontend PID.

func Prepare

func Prepare(opts browserhost.SharedOptions) error

Prepare creates only the derived broker directories before a Linux browser helper enters its per-call filesystem envelope. Discovery stays read-only.

func RunHelper

func RunHelper(ctx context.Context, in io.Reader) error

RunHelper is called before normal CLI/GUI initialization. Configuration is read from the parent's pipe, not argv or any repository file.

func SharedPane

func SharedPane(ctx context.Context, args []string, pane browsepane.Options) (bool, error)

SharedPane dispatches only launches carrying a trusted runtime conversation ID. Existing direct `golder browse` invocations keep their standalone mode.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL