Program that serves compressed files over http.
|
|
před 8 roky | |
|---|---|---|
| LICENSE | před 8 roky | |
| config.json | před 8 roky | |
| index.html | před 8 roky | |
| main.go | před 8 roky | |
| readme.md | před 8 roky | |
| template.go | před 8 roky |
Program that serves compressed files over http.
Configuration file (config.json) must be located in the same place as executable TODO: allow change conifg location via command line arguments
address - IP serving address data - A dictionary of string and item. String is a name that will be used as directory name in html page. item - Consists of 3 parts:
Simple as
go build
For smallest executable
GOOS=linux go build -ldflags="-s -w"
upx --brute logserver