Implement serving passphrase from daemon

This commit is contained in:
2025-04-13 17:55:57 -04:00
parent a5108bc6cc
commit dc262c87e8
5 changed files with 35 additions and 15 deletions
+2 -7
View File
@@ -8,13 +8,8 @@ import (
func main() {
if len(os.Args) > 1 {
switch os.Args[1] {
case "client":
fmt.Println("RPC Reply: " + daemon.Call())
default:
daemon.Run()
}
daemon.Start(os.Args[1])
} else {
daemon.Run()
fmt.Println(daemon.Call())
}
}