mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-16 11:37:36 +02:00
4af0e0f15f
* Added possibility to load pages from memory * Fixed indent
29 lines
444 B
Go
29 lines
444 B
Go
package drivers
|
|
|
|
type (
|
|
Viewport struct {
|
|
Height int
|
|
Width int
|
|
ScaleFactor float64
|
|
Mobile bool
|
|
Landscape bool
|
|
}
|
|
|
|
Params struct {
|
|
URL string
|
|
UserAgent string
|
|
KeepCookies bool
|
|
Cookies HTTPCookies
|
|
Headers HTTPHeaders
|
|
Viewport *Viewport
|
|
}
|
|
|
|
ParseParams struct {
|
|
Content []byte
|
|
KeepCookies bool
|
|
Cookies HTTPCookies
|
|
Headers HTTPHeaders
|
|
Viewport *Viewport
|
|
}
|
|
)
|