Documentation
¶
Overview ¶
Package goxbrowser provides a headless browser pool with anti-detection, smart fallback and multi-provider support.
Architecture follows the database/sql Strategy Pattern:
- Parent package (browser/) defines interfaces and shared capabilities
- Sub-packages (rod/, browserless/, surf/) provide concrete implementations
- Users import only the providers they need
Available packages:
- browser: Core pool, fetcher, detector, worker, metrics
- browser/rod: Chrome via go-rod (local + remote)
- browser/browserless: Browserless v2 cluster
- browser/surf: HTTP TLS fingerprint impersonation
- artifact: Storage abstraction (local + S3/OSS)
Index ¶
Constants ¶
View Source
const Version = "0.1.0"
Version is the current tagged release of the library.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package artifact 提供统一的产出物存储抽象层。
|
Package artifact 提供统一的产出物存储抽象层。 |
|
Package browser 提供统一的浏览器池抽象层。
|
Package browser 提供统一的浏览器池抽象层。 |
|
browserless
Package browserless 提供基于 Browserless v2 的远程浏览器集群 Provider 实现。
|
Package browserless 提供基于 Browserless v2 的远程浏览器集群 Provider 实现。 |
|
rod
Package rod 提供基于 go-rod 的 Chrome 浏览器 Provider 实现。
|
Package rod 提供基于 go-rod 的 Chrome 浏览器 Provider 实现。 |
|
surf
Package surf 提供基于 TLS 指纹伪装的纯 HTTP 客户端 Provider 实现。
|
Package surf 提供基于 TLS 指纹伪装的纯 HTTP 客户端 Provider 实现。 |
Click to show internal directories.
Click to hide internal directories.