summaryrefslogtreecommitdiff
path: root/cmd/api/flags.go
blob: 9cdf9ec7e7d679ae24194ec0d5166577451f532b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
package main

import "flag"

var (
	cluster     = flag.String("cluster", "", "Master node address (ex: 192.168.1.10:5657)")
	clusterID   = flag.String("cluster_id", "", "Cluster id")
	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")
)