websocket

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebSocket

type WebSocket struct{}

WebSocket Javascript WebSocket

func New

func New() *WebSocket

New create a new WebSocket object

func (*WebSocket) ExportFunction

func (ws *WebSocket) ExportFunction(iso *v8go.Isolate) *v8go.FunctionTemplate

ExportFunction Export as a javascript WebSocket function

func (*WebSocket) ExportObject

func (ws *WebSocket) ExportObject(iso *v8go.Isolate) *v8go.ObjectTemplate

ExportObject Export as a WebSocket Object

Jump to

Keyboard shortcuts

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