Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jmoney/echo-server

Web server that supports http and websockets and echos the request back on the response
https://github.com/jmoney/echo-server

github-site homebrew-formula license-management mkdocs

Last synced: 12 days ago
JSON representation

Web server that supports http and websockets and echos the request back on the response

Awesome Lists containing this project

README

        

# echo-server

## Overview

| Arguemment | Description | Default Value |
| --- | --- | --- |
| port | The port to connect too. | 9001 |
| type | The type of server to run. Options are http, websocket, or all | all |

## Installation

```bash
brew tap jmoney/server-utils
brew install echo-server
```

## Run Locally

```bash
go run cmd/server/main.go -port 9002
```

Starts up on port `9002`. You can use `ngrok` to expose the server to the internet if so desired with the command `ngrok http 9002`.