Skip to content

Commit

Permalink
add some docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ramin committed Mar 20, 2024
1 parent b68cf82 commit 1323eb3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions info.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1323eb3

Please sign in to comment.