diff options
Diffstat (limited to 'cmd/api/flags.go')
-rw-r--r-- | cmd/api/flags.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cmd/api/flags.go b/cmd/api/flags.go new file mode 100644 index 0000000..b4910fa --- /dev/null +++ b/cmd/api/flags.go @@ -0,0 +1,10 @@ +package main + +import "flag" + +var ( + cluster = flag.String("cluster", "", "Master node address (ex: 192.168.1.10:5657)") + clusterAddr = flag.String("cluster_addr", ":5657", "Self address for cluster") + apiAddr = flag.String("api_addr", ":5656", "API address") + dbPath = flag.String("db_path", "/var/djson.db", "DB file") +) |