package tethering
Import Path
github.com/chromedp/cdproto/tethering (on go.dev)
Dependency Relation
imports 6 packages, and imported by one package
Involved Source Files
easyjson.go
events.go
Package tethering provides the Chrome DevTools Protocol
commands, types, and events for the Tethering domain.
The Tethering domain defines methods and events for browser port binding.
Generated by the cdproto-gen command.
Package-Level Type Names (total 3)
BindParams request browser port binding.
// Port number to bind.
Do executes Tethering.bind against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*BindParams : github.com/chromedp/chromedp.Action
*BindParams : github.com/chromedp/chromedp.CallAction
*BindParams : github.com/chromedp/chromedp.EmulateAction
*BindParams : github.com/chromedp/chromedp.EvaluateAction
*BindParams : github.com/chromedp/chromedp.KeyAction
*BindParams : github.com/chromedp/chromedp.MouseAction
*BindParams : github.com/chromedp/chromedp.NavigateAction
*BindParams : github.com/chromedp/chromedp.PollAction
*BindParams : github.com/chromedp/chromedp.QueryAction
BindParams : github.com/goccy/go-json.Marshaler
*BindParams : github.com/goccy/go-json.Unmarshaler
BindParams : github.com/mailru/easyjson.Marshaler
*BindParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*BindParams : github.com/mailru/easyjson.Unmarshaler
BindParams : encoding/json.Marshaler
*BindParams : encoding/json.Unmarshaler
func Bind(port int64) *BindParams
EventAccepted informs that port was successfully bound and got a specified
connection id.
See: https://chromedevtools.github.io/devtools-protocol/tot/Tethering#event-accepted
// Connection id to be used.
// Port number that was successfully bound.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventAccepted : github.com/goccy/go-json.Marshaler
*EventAccepted : github.com/goccy/go-json.Unmarshaler
EventAccepted : github.com/mailru/easyjson.Marshaler
*EventAccepted : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventAccepted : github.com/mailru/easyjson.Unmarshaler
EventAccepted : encoding/json.Marshaler
*EventAccepted : encoding/json.Unmarshaler
UnbindParams request browser port unbinding.
// Port number to bind.
Do executes Tethering.unbind against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*UnbindParams : github.com/chromedp/chromedp.Action
*UnbindParams : github.com/chromedp/chromedp.CallAction
*UnbindParams : github.com/chromedp/chromedp.EmulateAction
*UnbindParams : github.com/chromedp/chromedp.EvaluateAction
*UnbindParams : github.com/chromedp/chromedp.KeyAction
*UnbindParams : github.com/chromedp/chromedp.MouseAction
*UnbindParams : github.com/chromedp/chromedp.NavigateAction
*UnbindParams : github.com/chromedp/chromedp.PollAction
*UnbindParams : github.com/chromedp/chromedp.QueryAction
UnbindParams : github.com/goccy/go-json.Marshaler
*UnbindParams : github.com/goccy/go-json.Unmarshaler
UnbindParams : github.com/mailru/easyjson.Marshaler
*UnbindParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*UnbindParams : github.com/mailru/easyjson.Unmarshaler
UnbindParams : encoding/json.Marshaler
*UnbindParams : encoding/json.Unmarshaler
func Unbind(port int64) *UnbindParams
Package-Level Functions (total 2)
Bind request browser port binding.
See: https://chromedevtools.github.io/devtools-protocol/tot/Tethering#method-bind
parameters:
port - Port number to bind.
Unbind request browser port unbinding.
See: https://chromedevtools.github.io/devtools-protocol/tot/Tethering#method-unbind
parameters:
port - Port number to unbind.
Package-Level Constants (total 2)
Command names.
Command names.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |