in lib/lib.go [31:46]
func GetKey(omhost *C.char, volume *C.char, bucket *C.char, key *C.char) {
println("Getting key")
omClient := om.CreateOmClient(C.GoString(omhost))
println("Connected to host " + C.GoString(omhost))
k, err := omClient.GetKey(C.GoString(volume), C.GoString(bucket), C.GoString(key))
if err != nil {
panic(err)
}
out, err := json.MarshalIndent(k, "", " ")
if err != nil {
panic(err)
}
println(string(out))
}