Skip to content

A simple echo server to test a golang server in a docker container.

License

Notifications You must be signed in to change notification settings

GlenDC/go-echoserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-echoserver

A simple echo server to test a golang server in a docker container.

Once you have the docker-machine running, and golang installed, you can simply build and run the server:

$ make run

With that server up and running, you can curl to it:

$ curl -XGET $(docker-machine ip):8080/hello

Or you can curl to it from a docker container:

$ docker run -t --rm --link go-echo:go-echo appropriate/curl go-echo:8080/hello

About

A simple echo server to test a golang server in a docker container.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published