From 6e9f31a29a91c9710acde73e5d70ca3d18466a0f Mon Sep 17 00:00:00 2001 From: idk Date: Sun, 27 Dec 2020 17:24:21 -0500 Subject: [PATCH] Bump version. Too tired to do the godoc. Will fix tomorrow. --- Makefile | 2 +- info.go | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dc232e4..c37b7bf 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ USER_GH=eyedeekay -VERSION=0.1.02 +VERSION=0.1.03 packagename=go-i2pcontrol echo: diff --git a/info.go b/info.go index 3f5d98f..414fad6 100644 --- a/info.go +++ b/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,