Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 863 Bytes

README.md

File metadata and controls

41 lines (29 loc) · 863 Bytes

Echo server

Simple go-written echo-server

Development plan

  1. Simple echo server
  2. Fetching name and port from config
  3. Implement /health endpoint TBD

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

You need to install Golang and Docker to run this project.

Golang:

✗ go version
go version go1.15.6 darwin/amd64

Docker:

✗ docker -v
Docker version 20.10.7, build f0df350

Installation

  • Clone the project and open in your favourite IDE.
  • Install all needed dependencies via go mod download or via IDE tools.
  • Build Docker image by running docker build . -t echo-server

Running

  • Run main.go
  • Run containerized docker run -p port:port echo-server