A Go client lib for the SiriDB Enodo Platform
Simple install the package to your $GOPATH with the go tool from shell:
$ go get github.com/SiriDB/siridb-enodo-go-lib
Make sure Git is installed on your machine and in your system's PATH
.
CreatePackage
can be used to create a new package with a given type, id and data. Returns value of type []byte
ReadHeaderFromBinaryData
can be used to read a header from a []byte
, func returns upcoming data length, package type and package ID