[unix:http_server]
file=/tmp/appt.sock
chmod=0777
chown=root:golang
[inet_http_server]
port=9900
[program:app]
command=/var/www/golang/src/src
autostart=true
autorestart=true
startretries=10
chown=root:golang
directory=/var/www/golang/src
environment=APP_SETTINGS="/srv/www/yourapp.com/prod.toml"
redirect_stderr=true
stdout_logfile=/var/log/supervisor/golang.log
stdout_logfile_maxbytes=50MB
stdout_logfile_backups=10
2015年10月28日 星期三
2015年10月5日 星期一
chroom cache
http://www.howtogeek.com/197804/how-to-clear-the-google-chrome-dns-cache-on-windows/
chrome://net-internals/#dns
chrome://net-internals/#dns
2015年10月2日 星期五
golang暫存資料
//重新安裝golang
brew install go --with-cc-all
//編譯檔案於哪個OS下使用
//linux
GOOS=linux GOARCH=amd64 go build
//mac
GOOS=darwin GOARCH=amd64 go build
//
http://stackoverflow.com/questions/31586320/go-build-runtime-darwin-amd64-must-be-bootstrapped-using-make-bash
http://stackoverflow.com/questions/12168873/cross-compile-go-on-osx
http://stackoverflow.com/questions/27412601/cross-compiling-go
http://stackoverflow.com/questions/25051623/golang-compile-for-all-platforms-in-windows-7-32-bit
http://www.goinggo.net/2013/10/cross-compile-your-go-programs.html
//編譯檔案OS
https://github.com/mitchellh/gox
brew install go --with-cc-all
//編譯檔案於哪個OS下使用
//linux
GOOS=linux GOARCH=amd64 go build
//mac
GOOS=darwin GOARCH=amd64 go build
//
http://stackoverflow.com/questions/31586320/go-build-runtime-darwin-amd64-must-be-bootstrapped-using-make-bash
http://stackoverflow.com/questions/12168873/cross-compile-go-on-osx
http://stackoverflow.com/questions/27412601/cross-compiling-go
http://stackoverflow.com/questions/25051623/golang-compile-for-all-platforms-in-windows-7-32-bit
http://www.goinggo.net/2013/10/cross-compile-your-go-programs.html
//編譯檔案OS
https://github.com/mitchellh/gox
訂閱:
文章 (Atom)