package
1.0.0-rc6
Repository: https://github.com/tluthra/go-chrome.git
Documentation: pkg.go.dev

# Functions

New returns a pointer to a websocket struct that implements Socketer interface listening to the specified URL.
NewCommand creates and returns a pointer to a struct that implements the Commander interface.
NewCommandMap creates and returns a pointer to a struct that implements the CommandMapper interface.
NewEventHandler returns a pointer to an event handler.
NewEventHandlerMap creates and returns a pointer to an EventHandlerMapper.
NewWebsocket returns a connected socket connection that implements the WebSocketer interface.
NextSocketID increments and returns the socket ID for mapping Commander structs to socket responses.

# Structs

AccessibilityProtocol provides a namespace for the Chrome Accessibility protocol methods.
AnimationProtocol provides a namespace for the Chrome Animation protocol methods.
ApplicationCacheProtocol provides a namespace for the Chrome Animation protocol methods.
AuditsProtocol provides a namespace for the Chrome Audits protocol methods.
BrowserProtocol provides a namespace for the Chrome Browser protocol methods.
CacheStorageProtocol provides a namespace for the Chrome CacheStorage protocol methods.
ChromeWebSocket provides an WebSocketer interface for managing a websocket connection.
Command provides a Commander interface for sending commands to a websocket.
CommandMap provides a CommandMapper interface implementation for managing the command stack.
ConsoleProtocol provides a namespace for the Chrome Console protocol methods.
CSSProtocol provides a namespace for the Chrome CSS protocol methods.
DatabaseProtocol provides a namespace for the Chrome Database protocol methods.
DebuggerProtocol provides a namespace for the Chrome Debugger protocol methods.
DeviceOrientationProtocol provides a namespace for the Chrome DeviceOrientation protocol methods.
DOMDebuggerProtocol provides a namespace for the Chrome DOMDebugger protocol methods.
DOMProtocol provides a namespace for the Chrome DOM protocol methods.
DOMSnapshotProtocol provides a namespace for the Chrome DOMSnapshot protocol methods.
DOMStorageProtocol provides a namespace for the Chrome DOMStorage protocol methods.
EmulationProtocol provides a namespace for the Chrome Emulation protocol methods.
Error represents a socket response error.
EventHandlerMap provides an EventHandlerMapper interface for handling the event handler stack.
Handler provides an EventHandler interface for managing an event handler.
HeadlessExperimentalProtocol provides a namespace for the Chrome HeadlessExperimental protocol methods.
HeapProfilerProtocol provides a namespace for the Chrome HeapProfiler protocol methods.
IndexedDBProtocol provides a namespace for the Chrome IndexedDB protocol methods.
InputProtocol provides a namespace for the Chrome Input protocol methods.
IOProtocol provides a namespace for the Chrome IO protocol methods.
LayerTreeProtocol provides a namespace for the Chrome LayerTree protocol methods.
LogProtocol provides a namespace for the Chrome Log protocol methods.
MemoryProtocol provides a namespace for the Chrome Memory protocol methods.
NetworkProtocol provides a namespace for the Chrome Network protocol methods.
OverlayProtocol provides a namespace for the Chrome Overlay protocol methods.
PageProtocol provides a namespace for the Chrome Page protocol methods.
Payload represents a WebSocket JSON payload for a sending a command to the websocket.
PerformanceProtocol provides a namespace for the Chrome Performance protocol methods.
ProfilerProtocol provides a namespace for the Chrome Profiler protocol methods.
Response represents a socket message.
RuntimeProtocol provides a namespace for the Chrome Runtime protocol methods.
SchemaProtocol provides a namespace for the Chrome Schema protocol methods.
SecurityProtocol provides a namespace for the Chrome Security protocol methods.
ServiceWorkerProtocol provides a namespace for the Chrome ServiceWorker protocol methods.
Socket is a Socketer implementation.
StorageProtocol provides a namespace for the Chrome Storage protocol methods.
SystemInfoProtocol provides a namespace for the Chrome SystemInfo protocol methods.
TargetProtocol provides a namespace for the Chrome Target protocol methods.
TetheringProtocol provides a namespace for the Chrome Tethering protocol methods.
TracingProtocol provides a namespace for the Chrome Tracing protocol methods.

# Interfaces

Commander defines the interface for websocket commands.
CommandMapper defines a management interface for the stack of pending commands.
Conner defines the Socket connection interface for managing websocket connections, including reading and writing.
EventHandler defines the event handler interface required by the event handler process.
EventHandlerMapper defines a management interface for the stack of event handlers.
Protocoller defines the Chrome DevTools Protocol API methods https://chromedevtools.github.io/devtools-protocol/ */.
Socketer defines the websocket connection interface for managing sockets.
WebSocketer defines the minimum interface required API for web socket connections to the Chromium browser.