Skip to content

mauilion/echo-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Echo Server

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

  • 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 --detach -P jmalloc/echo-server

To run as a service:

docker service create --publish 8080 jmalloc/echo-server

About

An HTTP and WebSocket "echo" server for testing proxies and HTTP clients.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 82.0%
  • Makefile 14.3%
  • Dockerfile 3.3%
  • Shell 0.4%