mirror of
https://github.com/go-i2p/go-i2pcontrol.git
synced 2025-06-08 02:28:09 -04:00
Bump version. Too tired to do the godoc. Will fix tomorrow.
This commit is contained in:
2
Makefile
2
Makefile
@ -1,6 +1,6 @@
|
||||
|
||||
USER_GH=eyedeekay
|
||||
VERSION=0.1.02
|
||||
VERSION=0.1.03
|
||||
packagename=go-i2pcontrol
|
||||
|
||||
echo:
|
||||
|
3
info.go
3
info.go
@ -2,6 +2,8 @@ package i2pcontrol
|
||||
|
||||
import "fmt"
|
||||
|
||||
|
||||
// ParticipatingTunnels gets the number of participating tunnels the router has currently
|
||||
func ParticipatingTunnels() (int, error) {
|
||||
retpre, err := Call("RouterInfo", map[string]interface{}{
|
||||
"i2p.router.net.tunnels.participating": nil,
|
||||
@ -14,6 +16,7 @@ func ParticipatingTunnels() (int, error) {
|
||||
return result, nil
|
||||
}
|
||||
|
||||
//
|
||||
func Status() (string, error) {
|
||||
retpre, err := Call("RouterInfo", map[string]interface{}{
|
||||
"i2p.router.status": nil,
|
||||
|
Reference in New Issue
Block a user