package
0.35.0
Repository: https://github.com/mafredri/cdp.git
Documentation: pkg.go.dev

# Functions

NewActivateTargetArgs initializes ActivateTargetArgs with the required arguments.
NewAttachToTargetArgs initializes AttachToTargetArgs with the required arguments.
NewAutoAttachRelatedArgs initializes AutoAttachRelatedArgs with the required arguments.
NewClient returns a client for the Target domain with the connection set to conn.
NewCloseTargetArgs initializes CloseTargetArgs with the required arguments.
NewCreateBrowserContextArgs initializes CreateBrowserContextArgs with the required arguments.
NewCreateTargetArgs initializes CreateTargetArgs with the required arguments.
NewDetachFromTargetArgs initializes DetachFromTargetArgs with the required arguments.
NewDisposeBrowserContextArgs initializes DisposeBrowserContextArgs with the required arguments.
NewExposeDevToolsProtocolArgs initializes ExposeDevToolsProtocolArgs with the required arguments.
NewGetTargetInfoArgs initializes GetTargetInfoArgs with the required arguments.
NewGetTargetsArgs initializes GetTargetsArgs with the required arguments.
NewSendMessageToTargetArgs initializes SendMessageToTargetArgs with the required arguments.
NewSetAutoAttachArgs initializes SetAutoAttachArgs with the required arguments.
NewSetDiscoverTargetsArgs initializes SetDiscoverTargetsArgs with the required arguments.
NewSetRemoteLocationsArgs initializes SetRemoteLocationsArgs with the required arguments.

# Structs

ActivateTargetArgs represents the arguments for ActivateTarget in the Target domain.
AttachedToTargetReply is the reply for AttachedToTarget events.
AttachToBrowserTargetReply represents the return values for AttachToBrowserTarget in the Target domain.
AttachToTargetArgs represents the arguments for AttachToTarget in the Target domain.
AttachToTargetReply represents the return values for AttachToTarget in the Target domain.
AutoAttachRelatedArgs represents the arguments for AutoAttachRelated in the Target domain.
CloseTargetArgs represents the arguments for CloseTarget in the Target domain.
CloseTargetReply represents the return values for CloseTarget in the Target domain.
CrashedReply is the reply for TargetCrashed events.
CreateBrowserContextArgs represents the arguments for CreateBrowserContext in the Target domain.
CreateBrowserContextReply represents the return values for CreateBrowserContext in the Target domain.
CreatedReply is the reply for TargetCreated events.
CreateTargetArgs represents the arguments for CreateTarget in the Target domain.
CreateTargetReply represents the return values for CreateTarget in the Target domain.
DestroyedReply is the reply for TargetDestroyed events.
DetachedFromTargetReply is the reply for DetachedFromTarget events.
DetachFromTargetArgs represents the arguments for DetachFromTarget in the Target domain.
DisposeBrowserContextArgs represents the arguments for DisposeBrowserContext in the Target domain.
ExposeDevToolsProtocolArgs represents the arguments for ExposeDevToolsProtocol in the Target domain.
FilterEntry A filter used by target query/discovery/auto-attach operations.
GetBrowserContextsReply represents the return values for GetBrowserContexts in the Target domain.
GetTargetInfoArgs represents the arguments for GetTargetInfo in the Target domain.
GetTargetInfoReply represents the return values for GetTargetInfo in the Target domain.
GetTargetsArgs represents the arguments for GetTargets in the Target domain.
GetTargetsReply represents the return values for GetTargets in the Target domain.
Info.
InfoChangedReply is the reply for TargetInfoChanged events.
ReceivedMessageFromTargetReply is the reply for ReceivedMessageFromTarget events.
RemoteLocation Note: This type is experimental.
SendMessageToTargetArgs represents the arguments for SendMessageToTarget in the Target domain.
SetAutoAttachArgs represents the arguments for SetAutoAttach in the Target domain.
SetDiscoverTargetsArgs represents the arguments for SetDiscoverTargets in the Target domain.
SetRemoteLocationsArgs represents the arguments for SetRemoteLocations in the Target domain.

# Interfaces

AttachedToTargetClient is a client for AttachedToTarget events.
CrashedClient is a client for TargetCrashed events.
CreatedClient is a client for TargetCreated events.
DestroyedClient is a client for TargetDestroyed events.
DetachedFromTargetClient is a client for DetachedFromTarget events.
InfoChangedClient is a client for TargetInfoChanged events.
ReceivedMessageFromTargetClient is a client for ReceivedMessageFromTarget events.

# Type aliases

Filter The entries in TargetFilter are matched sequentially against targets and the first entry that matches determines if the target is included or not, depending on the value of `exclude` field in the entry.
ID.
SessionID Unique identifier of attached debugging session.