Program that serves compressed files over http.
|
|
hace 8 años | |
|---|---|---|
| LICENSE | hace 8 años | |
| config.json | hace 8 años | |
| index.html | hace 8 años | |
| main.go | hace 8 años | |
| readme.md | hace 8 años | |
| template.go | hace 8 años |
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