Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/johnandersen777/discovery

Simple golang udp application
https://github.com/johnandersen777/discovery

Last synced: about 15 hours ago
JSON representation

Simple golang udp application

Awesome Lists containing this project

README

        

Frontend
---

A web service to receive files

It uses docker to compile the binaries and the main Dockerfile adds the linux
binary to the busybox image to create an extremely small final image

Building
---

```bash
go build -o discovery_linux-amd64 -tags netgo *.go
# Or
./script/build
# My Favorite
SKIP_BUILD=1 SKIP_IMAGE=1 ./script/build -osarch="linux/amd64"
```
> `-tags netgo` will help you achieve static binaries :)

Running
---

```bash
./discovery_linux-amd64
docker run --rm -ti pdxjohnny/discovery
```

Changing The Name
---

```bash
./script/change-name $GITHUB_USERNAME $PROJECT_NAME
```

- John Andersen