websocket-utils

command module
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2014 License: GPL-3.0 Imports: 13 Imported by: 0

README

Websocket utils

Simple CLI utils for testing websocket (RFC4655) connections. Currently are:

  • wsclient — allows you to establish websocket connection with server and send text messages from command line.
  • wsechoserver — just reply back messages it received.

Install

Binary downloads Build Status

Prebuilt binaries provided for Linux x86_64:

Download and place to $PATH.

Build from source

You need go environment then install external packages:

  • go get github.com/gorilla/websocket
  • go get github.com/kdar/factorlog
  • go get github.com/peterh/liner

Then install and updat package with:

go get github.com/grafov/websocket-utils

For go 1.3 just use build -i for autoinstall external packages during build.

Makefile supplied to use make instead direct usage of go compiler.

make deps
make build

Documentation

Overview

Simple websocket client with CLI shell. It can send text messages to ws server.

Simple websocket server echoed requests back to client.

Jump to

Keyboard shortcuts

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