Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/johnandersen777/discovery
- Owner: johnandersen777
- Created: 2015-09-16T20:49:44.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-18T14:05:33.000Z (about 9 years ago)
- Last Synced: 2024-10-24T09:12:17.910Z (25 days ago)
- Language: Go
- Size: 180 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 imageBuilding
---```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