An API wrapper for Eclair that returns gjson results.
Read the documentation.
package main
import (
"log"
"github.com/fiatjaf/eclair-go"
)
func main() {
ln := eclair.Client{Host: "http://localhost:8080", Password: "satoshi21"}
res, _ := ln.Call("getinfo", nil)
log.Print(res.Get("nodeId").String())
}