cosgo v0.7
cosgo Contact Form Server v0.7.78c550c
Added uptime template variable
Added version to template variables
Added version to makefile
Now installable to /usr/local/bin/cosgo and /usr/local/share/cosgo/templates
Better Heroku support (see README)
Better Configuration
Added Godeps (for Heroku and so you get full source when downloading a release)
New flags: -quiet -nolog
_
___ ___ ___ __ _ ___ | |
/ __/ _ \/ __|/ _ |/ _ \| |
| (_| (_) \__ \ (_| | (_) |_|
\___\___/|___/\__, |\___/(_)
|___/
cosgo v0.7.78c550c
Copyright 2016 aerth
Source code at https://github.com/aerth/cosgo
[0.0.0.0:8080][files][static][mailbox][no https][refresh: 42m0s]
[logs: cosgo.log]
Usage of ./cosgo-v0.7.78c550c:
-bind string
Default: 0.0.0.0 (all interfaces)...
Try -bind=127.0.0.1 (default "0.0.0.0")
-config
Use config file at ~/.cosgo
-custom string
Example: cosgo2 ...creates $HOME/.cosgo2 (default "default")
-custompages string
Serve pages from X dir (default "page")
-debug
Send logs to stdout.
Dont switch to cosgo.log
-fastcgi
Use fastcgi (for with nginx etc)
-files
Serve /files/ files. Use -files=false to disable (default true)
-form
Use /page/index.html and /templates/form.html,
sets -pages flag automatically.
-help
Show this and quit
-log string
Example: /dev/null or /var/log/cosgo/log (default "cosgo.log")
-love
Fun. Show I love ___ instead of redirect
-mailmode string
Choose one: mailbox, mandrill, sendgrid
Example: -mailmode=mailbox (default "mailbox")
-nolog
No Output Whatsoever
-noredirect
Default is to redirect all 404s back to /.
Set true to enable error.html template
-pages
Serve /page/
-port string
Port to listen on (default "8080")
-quiet
No output to stdout.
For use with cron and -log flag such as: cosgo -quiet -log=/dev/null or cosgo -quiet -log=/var/log/cosgo/log
-resolvemail
Set true to check email addresses
-secure
Accept only https secure cookie transfer.
-sendgrid
Set -sendgrid to not use local mailbox. This automatically sets "-mailmode sendgrid"
-static
Serve /static/ files. Use -static=false to disable (default true)