Creating subdirectories in fs now works

This commit is contained in:
Frederick F. Kautz IV
2015-01-27 17:47:11 -08:00
parent 25ad24997e
commit 5daa408e2c
4 changed files with 52 additions and 5 deletions

View File

@@ -11,7 +11,8 @@ func parseInput(c *cli.Context) {
tls := c.Bool("tls")
certFile := c.String("cert")
keyFile := c.String("key")
server.Start(":8080", tls, certFile, keyFile)
inmemory := c.Bool("inmemory")
server.Start(":8080", tls, certFile, keyFile, inmemory)
}
func main() {
@@ -33,6 +34,10 @@ func main() {
Value: "",
Usage: "key file path",
},
cli.BoolFlag{
Name: "inmemory",
Usage: "in memory storage",
},
}
app.Flags = flags
app.Action = parseInput