An open API service indexing awesome lists of open source software.

https://github.com/eyedeekay/i2p-control

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.
https://github.com/eyedeekay/i2p-control

Last synced: 6 months ago
JSON representation

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.

Awesome Lists containing this project

README

          

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