publicURLStr:=cfg.String("http-public-url","http://localhost:4000","URL this service is accessible at")
publicURLStr:=cfg.String("http-public-url","http://localhost:4000","URL this service is accessible at")
cfg.StringVar(&p.ListenProto,"http-listen-proto","tcp","Protocol to listen for HTTP requests with")
cfg.StringVar(&p.ListenProto,"http-listen-proto","tcp","Protocol to listen for HTTP requests with")
cfg.StringVar(&p.ListenAddr,"http-listen-addr",":4000","Address/unix socket path to listen for HTTP requests on")
cfg.StringVar(&p.ListenAddr,"http-listen-addr",":4000","Address/path to listen for HTTP requests on")
httpAuthUsersStr:=cfg.String("http-auth-users","{}","JSON object with usernames as values and password hashes (produced by the hash-password binary) as values. Denotes users which are able to edit server-side data")
httpAuthUsersStr:=cfg.String("http-auth-users","{}","JSON object with usernames as values and password hashes (produced by the hash-password binary) as values. Denotes users which are able to edit server-side data")