noexpandtab

master
Jordan Orelli 10 years ago
parent b1cf12269c
commit 058ccbefd3

@ -18,22 +18,22 @@ var (
var config struct { var config struct {
ProxyAddr string ` ProxyAddr string `
name: proxy_addr name: proxy_addr
default: ":8080" default: ":8080"
help: proxy address. Browsers send their http traffic to this port. help: proxy address. Browsers send their http traffic to this port.
` `
AppAddr string ` AppAddr string `
name: app_addr name: app_addr
default: ":9000" default: ":9000"
help: app address. Users visit this address to view the proxy's history db help: app address. Users visit this address to view the proxy's history db
` `
DbPath string ` DbPath string `
name: dbpath name: dbpath
default: history.db default: history.db
help: path to a sqlite file used for storing the user's history help: path to a sqlite file used for storing the user's history
` `
} }
func httpHandler(w http.ResponseWriter, r *http.Request) { func httpHandler(w http.ResponseWriter, r *http.Request) {

Loading…
Cancel
Save