Tibrv
A CGO wrapper for TIBCO RendezVous C API
Install / Use
/learn @julio77it/TibrvREADME
tibrv
A CGO wrapper for TIBCO RendezVous C API
Introduction
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.
Configuration
This file:
scripts/test_profile
references 2 enviroments variables :
TEST_DIR = temporary test directory
TIBRV_HOME = path to valid tibrv C api installation
Test & Build
Test and coverage information:
scripts/cover.bash
Benchmarks:
scripts/benchmark.bash
Profiling:
scripts/profile.bash
Examples and tools:
scripts/build.bash
Getting started
Publish a message
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)
}
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Disclaimer
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.
Related Skills
node-connect
347.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
