Documentation
¶
Overview ¶
Package browserpool assembles the trusted per-profile browser broker. Browser automation sees only conversation sockets; operator credentials stay here.
Index ¶
- Constants
- func Open(ctx context.Context, opts browserhost.SharedOptions, ...) (*browserhost.RemoteView, error)
- func Options(profile, login, proxy string) (browserhost.SharedOptions, error)
- func Prepare(opts browserhost.SharedOptions) error
- func RunHelper(ctx context.Context, in io.Reader) error
- func SharedPane(ctx context.Context, args []string, pane browsepane.Options) (bool, error)
Constants ¶
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 ¶
RunHelper is called before normal CLI/GUI initialization. Configuration is read from the parent's pipe, not argv or any repository file.
func SharedPane ¶
SharedPane dispatches only launches carrying a trusted runtime conversation ID. Existing direct `golder browse` invocations keep their standalone mode.
Types ¶
This section is empty.