https://github.com/kenshin579/echo-server
Echo Server in golang
https://github.com/kenshin579/echo-server
api echo go golang server
Last synced: 4 months ago
JSON representation
Echo Server in golang
- Host: GitHub
- URL: https://github.com/kenshin579/echo-server
- Owner: kenshin579
- Created: 2023-03-10T09:24:52.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-12-07T08:00:32.000Z (7 months ago)
- Last Synced: 2025-12-08T21:23:11.722Z (7 months ago)
- Topics: api, echo, go, golang, server
- Language: Go
- Homepage:
- Size: 328 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Echo Server
This is a simple HTTP Echo server. If you send a request value to the API, the server will return the exact same value for the response.
## Usage
### 1. Build
The build option has already been added to the Makefile file, so you can simply build with the command below.
```bash
$ make package
```
### 2. Running the server
```bash
$ go run cmd/server/main.go
```
### 3. Running under Docker
The server can also run with a docker image.
```bash
$ make docker-run
```
## Swagger
The swagger is already included in the source code, so you can just access from the local machine.
- http://localhost/swagger/index.html
