qlcchain

package module
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2019 License: MIT Imports: 3 Imported by: 8

README

QLC Chain Golang SDK

Build Status codecov GoDoc

QLC Chain Golang API

Example

func main() {
	client, err := qlcchain.NewQLCClient("ws://127.0.0.1:9736")
	if err != nil {
		fmt.Println(err)
	}

	fmt.Println(client.Version())
}

License

MIT Copyright (c) 2019 QLC Chain

Documentation

Index

Constants

View Source
const BUILDTIME = "2019-03-14_14:25:32"
View Source
const GITREV = "3a2548f"
View Source
const VERSION = "0.0.1"

Variables

This section is empty.

Functions

This section is empty.

Types

type QLCClient

type QLCClient struct {
	Account  *module.AccountApi
	Contract *module.ContractApi
	Ledger   *module.LedgerApi
	Mintage  *module.MintageApi
	Pledger  *module.PledgeApi
	Rewards  *module.RewardsApi
	Network  *module.NetApi
	SMS      *module.SMSApi
	Util     *module.UtilApi
	// contains filtered or unexported fields
}

func NewQLCClient

func NewQLCClient(url string) (*QLCClient, error)

NewQLCClient creates a new client

func (*QLCClient) Close added in v1.1.2

func (c *QLCClient) Close() error

func (*QLCClient) Version

func (c *QLCClient) Version() string

Version returns version for sdk

Directories

Path Synopsis
robot command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL