mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-14 11:23:02 +02:00
9b762d32ee
* Added default headers and cookies * wip * Added tests * Added default headers and cookies to HTTP driver * Removed unused struct prop
21 lines
302 B
Go
21 lines
302 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
|
|
}
|
|
)
|