decap

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action []string

type QueryBlock

type QueryBlock struct {
	Actions []Action `json:"actions"`
	Repeat  *int     `json:"repeat"`
	While   *Action  `json:"while"`
}

type Request

type Request struct {
	Query            []*QueryBlock  `json:"query"`
	EmulateViewport  *ViewportBlock `json:"emulate_viewport"`
	ForwardUserAgent bool           `json:"forward_user_agent"`
	RenderDelay      string         `json:"global_render_delay"`
	ReuseTab         bool           `json:"reuse_tab"`
	ReuseWindow      bool           `json:"reuse_window"`
	SessionID        string         `json:"sessionid"`
	Timeout          string         `json:"timeout"`
}

type Result

type Result struct {
	Err      []string   `json:"err"`
	Out      [][]string `json:"out"`
	TabID    string     `json:"tab_id"`
	WindowID string     `json:"window_id"`
}

type ViewportBlock added in v0.11.1

type ViewportBlock struct {
	Width       int      `json:"width"`
	Height      int      `json:"height"`
	Orientation *string  `json:"orientation"`
	Mobile      bool     `json:"mobile"`
	Scale       *float64 `json:"scale"`
}

Jump to

Keyboard shortcuts

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