The Handshake Alliance API client for hsd.
https://godoc.org/github.com/HandshakeAlliance/hs-client-go/pkg
go get -u github.com/HandshakeAlliance/hs-client-go/pkg
package main
import (
"fmt"
"log"
hsc "github.com/HandshakeAlliance/hs-client-go/pkg/http"
)
func main() {
//Your Handshake Node hostname
hostname := "http://locahost:13037"
hsClient := hsc.New(hostname)
info, err := hsClient.Info()
if err != nil {
log.Fatal(err)
}
fmt.Printf("%v", info)
}
Check out the ./example
directory and documentation.
MIT