tethering

package
v0.160.9 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: MIT Imports: 1 Imported by: 5 modules, 4 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

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 pdlgen command.

Index

Constants

View Source
const (
	CommandBind   = "Tethering.bind"
	CommandUnbind = "Tethering.unbind"
)

Command names.

Variables

View Source
var Accepted = cdp.Event[EventAccepted]{Method: "Tethering.accepted"}

Accepted informs that port was successfully bound and got a specified connection id.

See: https://chromedevtools.github.io/devtools-protocol/tot/Tethering#event-accepted

Bind request browser port binding.

See: https://chromedevtools.github.io/devtools-protocol/tot/Tethering#method-bind

Unbind request browser port unbinding.

See: https://chromedevtools.github.io/devtools-protocol/tot/Tethering#method-unbind

Functions

This section is empty.

Types

type BindParams

type BindParams struct {
	Port int64 `json:"port"` // Port number to bind.
}

BindParams are the parameters of the command Tethering.bind.

type EventAccepted

type EventAccepted struct {
	Port         int64  `json:"port"`         // Port number that was successfully bound.
	ConnectionID string `json:"connectionId"` // Connection id to be used.
}

EventAccepted informs that port was successfully bound and got a specified connection id.

See: https://chromedevtools.github.io/devtools-protocol/tot/Tethering#event-accepted

type UnbindParams

type UnbindParams struct {
	Port int64 `json:"port"` // Port number to unbind.
}

UnbindParams are the parameters of the command Tethering.unbind.

Jump to

Keyboard shortcuts

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