Skip to content

kenshin579/echo-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

$ make package

2. Running the server

$  go run cmd/server/main.go 

3. Running under Docker

The server can also run with a docker image.

$ make docker-run

Swagger

The swagger is already included in the source code, so you can just access from the local machine.

image-20230313002636195

About

echo server in golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published