logging update, comments, and mod tidying
This commit is contained in:
@@ -85,7 +85,7 @@ func initConfig() {
|
||||
viper.Set("port", port)
|
||||
viper.Set("nonce", "")
|
||||
|
||||
//generate a uuid to be used as encryption key
|
||||
//generate psuedo-random key
|
||||
uu := make([]byte, 32)
|
||||
_, err := rand.Read(uu)
|
||||
cobra.CheckErr(err)
|
||||
|
@@ -70,6 +70,8 @@ var loginCmd = &cobra.Command{
|
||||
fmt.Printf("\n%s\n", res)
|
||||
}
|
||||
}
|
||||
|
||||
fmt.Printf("Disconnected from %s\n", server)
|
||||
},
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user