blob: 4d967fd8034f2b258698c9fc276f11033bb8d1bd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
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")
logLevel = flag.String("log_level", "info", "Log level")
)
|