websocket

package
v0.1.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: May 29, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Upgrade

func Upgrade(w http.ResponseWriter, request *http.Request) (*websocket.Conn, error)

Upgrade func takes incoming connections and upgrade the request into a WebSocket connection

func Writer

func Writer(conn *websocket.Conn)

Writer func sends data into WebSocket to the client

Types

This section is empty.

Jump to

Keyboard shortcuts

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