# README
go-brooklynintegers-api
Go package for the Brooklyn Integers API.
Documentation
Documentation is incomplete at this time.
Usage
Simple
package main
import (
"fmt"
"github.com/aaronland/go-brooklynintegers-api"
)
func main() {
client := api.NewAPIClient()
i, _ := client.CreateInteger()
fmt.Println(i)
}
Less simple
import (
"fmt"
"github.com/aaronland/go-brooklynintegers-api"
)
func main() {
client := api.NewAPIClient()
params := url.Values{}
method := "brooklyn.integers.create"
rsp, _ := client.ExecuteMethod(method, ¶ms)
i, _ := rsp.Int()
fmt.Println(i)
}
Tools
brooklynt
Mint one or more Brooklyn Integers.
$> ./bin/brooklynt -h
Usage of ./bin/int:
-count int
The number of Brooklyn Integers to mint (default 1)
proxy-server
This tool has been moved to the go-brooklynintegers-proxy package.
See also
# Packages
No description provided by the author
# Functions
No description provided by the author
RegisterClientSchemes will explicitly register all the schemes associated with the `client.Client` interface.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author