A simple request and response service with support for
- HTTP
- TCP
Run the http test server:
docker run -p 8080:8080 -p 8081:8081 -ti --rm marsom/serverbin http
Run the tcp test server:
docker run -p 8080:8080 -p 8081:8081 -ti --rm marsom/serverbin tcp
Install binary with go
go install github.com/marsom/serverbin/cmd/serverbin
Run the http test server:
serverbin http
Run the tcp test server:
serverbin tcp
Download the pre-compiled binaries from the releases page and copy to the desired location.
Download and install the build requirements:
- go 1.16+
- goreleaser
Optional development tools:
Build binaries
goreleaser build --snapshot --rm-dist
Build binaries and docker images
goreleaser release --snapshot --rm-dist
- Create and push a release candidate tag, i.e., v0.0.1-rc1
- If all look good then create the tagged version, i.e., v0.0.1
- Update release notes in github
- goreleaser generated docker images section contains architecture based images. this is not correct because we build a docker manifest in a separate step.
- remove prerelease/draft flag
- Manually trigger the "Release latest images" github action with the