Total Pageviews

Saturday 12 December 2015

一个基于go的微型http server- gohttpd

mkdir gohttpd
cd gohttpd
export GOPATH=$PWD
go get github.com/nybuxtsui/gohttpd
cd bin
mkdir htdocs
echo "hello" > htdocs/index.html
./gohttpd
./gohttpd -h # show help

from https://github.com/nybuxtsui/gohttpd