You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

github.com/jlubawy/go-websocket-example

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/jlubawy/go-websocket-example

v0.0.0-20160826081602-baba9bda81c4
Source
Go
Version published
Created
Source

go-websocket-example

Simple WebSocket server/client implementation in which the client is updated with the current date/time every second.

Based heavily on the example given here: https://github.com/gorilla/websocket/tree/master/examples/filewatch

$ go get github.com/gorilla/websocket
$ go install github.com/jlubawy/go-websocket-example
$ go-websocket-example  # will start server on port 80
$ # open index.html (had to allow all origins since not serving HTML)

FAQs

Package last updated on 26 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts