Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Go terminal application for talking to i2pcontrol. Sorry it took me so long, muttonchops and preternaturally young-looking German dude. Also sorry I lost your e-mails.

License

eyedeekay/i2p-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

i2p-control

Terminal interface to monitor and manage I2P router service. Basically, an terminal i2pcontrol client.

    -host default:"127.0.0.1"
    -port default:"7657"
    -path default:"jsonrpc"
    -password default:"itoopie"
    -method default:"echo"
    -block default:false

Installation with go get

    go get -u github.com/eyedeekay/i2p-control

The methods that have been implemented are

    echo              : i2pcontrol:Echo
    restart           : i2pcontrol:Restart
    graceful-restart  : i2pcontrol:RestartGraceful
    shutdown          : i2pcontrol:Shutdown
    graceful-shutdown : i2pcontrol:ShutdownGraceful
    update            : i2pcontrol:Update
    find-update       : i2pcontrol:FindUpdate

So, for instance, to initiate a graceful shutdown and block until the router is shut down, use the command:

    i2p-control -block -method=graceful-shutdown

About

Go terminal application for talking to i2pcontrol. Sorry it took me so long, muttonchops and preternaturally young-looking German dude. Also sorry I lost your e-mails.

Resources

License

Stars

Watchers

Forks

Packages

No packages published