Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 881 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 881 Bytes

go-websocket-echo-server

============

Build Status

A very simple HTTP echo server with support for web-sockets for debugging purposes.

Repository name in Docker Hub: skandyla/go-websocket-echo-server Published via automated build mechanism

Features:

  • Any messages sent from a web-socket client are echoed.
  • Visit /.ws for a basic UI to connect and send web-socket messages.
  • Requests to any other URL will return the request headers and body.
  • The PORT environment variable sets the server port.
  • No TLS support yet :(

To run as a container:

docker run -P skandyla/go-websocket-echo-server

Inspired by https://github.com/jmalloc/echo-server