A CGO wrapper for TIBCO RendezVous C API
It's a CGO wrapper to C library. For building and using this package a valid TIBCO Rendezvous installation is needed. This package permits to send and receive messages with regular, certified message delivery and distribuited queue transports. The dispatcher library section is not included, use goroutines instead.
This file:
scripts/test_profile
references 2 enviroments variables :
TEST_DIR = temporary test directory
TIBRV_HOME = path to valid tibrv C api installation
scripts/cover.bash
scripts/benchmark.bash
scripts/profile.bash
scripts/build.bash
var transport tibrv.RvNetTransport
// Parameters are option, use
// Create()
// for default values
err := transport.Create(
tibrv.Service("<service>"),
tibrv.Network("<network>"),
tibrv.Daemon("<daemon>"),
tibrv.Description("<description>"),
)
if err != nil {
fmt.Println(err)
os.Exit(-1)
}
var msg tibrv.RvMessage
// [...] message composing
err = transport.Send(msg)
if err != nil {
fmt.Println(err)
os.Exit(-1)
}
This project is licensed under the MIT License - see the LICENSE.md file for details
This project has been an exercise for improving my GO skills, wrapping up things I already knew.
The package has never been used, it needs deep testing.