add socket
This commit is contained in:
@@ -33,6 +33,8 @@ var (
|
||||
dbFile string
|
||||
dbInit bool
|
||||
|
||||
socketAddress string
|
||||
|
||||
// rootCmd represents the base command when called without any subcommands
|
||||
rootCmd = &cobra.Command{
|
||||
Use: "tele-recv",
|
||||
@@ -96,5 +98,6 @@ func initConfig() {
|
||||
lograw = viper.GetBool("serial.lograw")
|
||||
dbFile = viper.GetString("sqlite.file")
|
||||
dbInit = viper.GetBool("sqlite.init")
|
||||
socketAddress = viper.GetString("socket.address")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user