mirror of
https://github.com/rwinkhart/rcw.git
synced 2026-08-28 04:46:42 -04:00
Initial code commit (credentials daemon)
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
)
|
||||
|
||||
func main() {
|
||||
if len(os.Args) > 1 {
|
||||
switch os.Args[1] {
|
||||
case "client":
|
||||
fmt.Println("RPC Reply: " + CallDaemon())
|
||||
default:
|
||||
StartDaemon()
|
||||
}
|
||||
} else {
|
||||
StartDaemon()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user