Bump version. Too tired to do the godoc. Will fix tomorrow.

This commit is contained in:
idk
2020-12-27 17:24:21 -05:00
parent 3f729eed20
commit 6e9f31a29a
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
USER_GH=eyedeekay USER_GH=eyedeekay
VERSION=0.1.02 VERSION=0.1.03
packagename=go-i2pcontrol packagename=go-i2pcontrol
echo: echo:

View File

@ -2,6 +2,8 @@ package i2pcontrol
import "fmt" import "fmt"
// ParticipatingTunnels gets the number of participating tunnels the router has currently
func ParticipatingTunnels() (int, error) { func ParticipatingTunnels() (int, error) {
retpre, err := Call("RouterInfo", map[string]interface{}{ retpre, err := Call("RouterInfo", map[string]interface{}{
"i2p.router.net.tunnels.participating": nil, "i2p.router.net.tunnels.participating": nil,
@ -14,6 +16,7 @@ func ParticipatingTunnels() (int, error) {
return result, nil return result, nil
} }
//
func Status() (string, error) { func Status() (string, error) {
retpre, err := Call("RouterInfo", map[string]interface{}{ retpre, err := Call("RouterInfo", map[string]interface{}{
"i2p.router.status": nil, "i2p.router.status": nil,