Categorygithub.com/marsom/serverbin
repository
0.0.1-rc9
Repository: https://github.com/marsom/serverbin.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

Build License Go Report Card Go Reference Powered By: GoReleaser

serverbin

A simple request and response service with support for

  • HTTP
  • TCP

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