serverbin
A simple request and response service with support for
Usage
docker
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
go install
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
manually
Download the pre-compiled binaries from the releases page and copy to
the desired location.
Build
Download and install the build requirements:
Optional development tools:
Build binaries
goreleaser build --snapshot --rm-dist
Build binaries and docker images
goreleaser release --snapshot --rm-dist