@@ -6,26 +6,32 @@ import (
66)
77
88var (
9- deploymentMode int
10- keysFile string
11- keysFileRaw string
12- mountPoint string
13- metadataDB string
14- logDir string
15- httpPort int
16- hostname string
17- configDir string
18- grpcPort int
19- httpsPort int
20- httpsKeyFile string
21- httpsCertFile string
22- hostUrl string
9+ deploymentMode int
10+ keysFile string
11+ keysFilePublicKey string
12+ keysFilePrivateKey string
13+ keysFileClientKey string
14+ keysFileIsSplit bool
15+ mountPoint string
16+ metadataDB string
17+ logDir string
18+ httpPort int
19+ hostname string
20+ configDir string
21+ grpcPort int
22+ httpsPort int
23+ httpsKeyFile string
24+ httpsCertFile string
25+ hostUrl string
2326)
2427
2528func init () {
2629 flag .IntVar (& deploymentMode , "deployment_mode" , 2 , "deployment mode: 0=dev,1=test, 2=mainnet" )
2730 flag .StringVar (& keysFile , "keys_file" , "" , "keys_file" )
28- flag .StringVar (& keysFileRaw , "keys_file_raw" , "" , "keys_file_raw" )
31+ flag .StringVar (& keysFilePublicKey , "keys_file_public_key" , "" , "keys_file_public_key" )
32+ flag .StringVar (& keysFilePrivateKey , "keys_file_private_key" , "" , "keys_file_private_key" )
33+ flag .StringVar (& keysFileClientKey , "keys_file_client_key" , "" , "keys_file_client_key" )
34+ flag .BoolVar (& keysFileIsSplit , "keys_file_is_split" , false , "keys_file_is_split" )
2935 flag .StringVar (& mountPoint , "files_dir" , "" , "Mounted partition where all files will be stored" )
3036 flag .StringVar (& metadataDB , "db_dir" , "" , "db_dir" )
3137 flag .StringVar (& logDir , "log_dir" , "" , "log_dir" )
0 commit comments