mirror of
https://github.com/arnaucube/go-dht.git
synced 2026-02-06 19:06:44 +01:00
node rpc PING & PONG methods and calls
This commit is contained in:
@@ -18,6 +18,11 @@ var NodeCommands = []cli.Command{
|
||||
}
|
||||
|
||||
func cmdStart(c *cli.Context) error {
|
||||
if c.GlobalBool("debug") {
|
||||
log.SetLevel(log.DebugLevel)
|
||||
log.SetReportCaller(true)
|
||||
}
|
||||
|
||||
if err := config.MustRead(c); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user