forked from chromedp/chromedp
/
types.go
43 lines (34 loc) · 1.01 KB
/
types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package target
// Code generated by chromedp-gen. DO NOT EDIT.
// ID [no description].
type ID string
// String returns the ID as string value.
func (t ID) String() string {
return string(t)
}
// SessionID unique identifier of attached debugging session.
type SessionID string
// String returns the SessionID as string value.
func (t SessionID) String() string {
return string(t)
}
// BrowserContextID [no description].
type BrowserContextID string
// String returns the BrowserContextID as string value.
func (t BrowserContextID) String() string {
return string(t)
}
// Info [no description].
type Info struct {
TargetID ID `json:"targetId"`
Type string `json:"type"`
Title string `json:"title"`
URL string `json:"url"`
Attached bool `json:"attached"` // Whether the target has an attached client.
OpenerID ID `json:"openerId,omitempty"` // Opener target Id
}
// RemoteLocation [no description].
type RemoteLocation struct {
Host string `json:"host"`
Port int64 `json:"port"`
}