Releases: drincruz/gohang
[v1.2.0] Minor release for an updated default port
Update
BLUF
- Changed the default port to listen on 5555
- Updated the respective tests, docs, and Docker images for this change.
Honestly, not too much going on here, just a change of the default port because I found Airplay uses up port 5000 on Macs. So now, we default to port 5555! This can still be overridden if need be, but now less work.
Did we really need a minor release just for this? Well, it's technically a breaking change, so I think so. 👍
[v1.1.0] Add new /echo endpoint
Summary
Introducing Echo! It's exactly as it sounds: an endpoint that will just echo whatever parameters/body/header that you send. That's it. Plain. Simple.
🗣️ 💬 💬 echo.
Send a request to /echo
and you'll get a string JSON payload response of what you sent. 👍
[v1.0.1] Minor update to support running the server on a different port
gohang Now is Configurable
Configurable to run on any port you want that is! Just a small quality of life change. Look through the README to see how to run the server on a different port than 5000.
BLUF
- Set
GOHANG_PORT
environment variable and enjoy!
[v1.0.0] Major release for "big" updates
Summary
Honestly, the big changes are mostly with updating to Golang 1.18. The changes to the HTTP endpoints are the same though. 👍
Updates
- Golang 1.18
- Finally added some unit tests. 😅
- Github Actions to ...
- run unit tests
- build and push a Docker Image to Github Packages
🚀 Cheers!
gohang v0.2.0
Updates
- Added some Docker support. If that is something you want, you can now
docker-compose build && docker-compose up
. - Changed default port to :5000.
Initial v0.1.0 Release
Updates
- Really just an initial release.
Changelog
- Note: Changes are really just changes that are different than my original gist here
- Added different paths with different response codes.
- moved the initial slow response to "/slow"