i2p-control

command module
v0.1.70001 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2026 License: MIT Imports: 4 Imported by: 0

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
    ident             : i2pcontrol:RouterInfo:hash(go-i2p only)

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package lib provides a clean, reusable API for interacting with the I2P control interface.
Package lib provides a clean, reusable API for interacting with the I2P control interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL