Skip to content

HandshakeAlliance/hs-client-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

The Handshake Alliance API client for hsd.

Documentation

https://godoc.org/github.com/HandshakeAlliance/hs-client-go/pkg

Install

go get -u github.com/HandshakeAlliance/hs-client-go/pkg

Getting started

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)

}

Examples

Check out the ./example directory and documentation.

License

MIT

About

Go bindings for hs-client - HSD: http and rpc calls

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages