From 1323eb31f6eba176b171aa0799b282620e9c7bfd Mon Sep 17 00:00:00 2001 From: ramin Date: Wed, 20 Mar 2024 11:08:52 +0000 Subject: [PATCH] add some docs --- info.go | 1 + 1 file changed, 1 insertion(+) diff --git a/info.go b/info.go index 528619f..ff25a81 100644 --- a/info.go +++ b/info.go @@ -24,6 +24,7 @@ type Features struct { Unknown []interface{} `json:"unknown"` } +// GetInfo returns information about the node. func (c *Client) GetInfo() (*Info, error) { info := Info{} data, err := c.Post(infoPath, nil, nil)