cyclone

package
v0.52.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2026 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package cyclone provides a CycloneDDS-backed implementation of the dds interfaces via CGo. This stub is compiled when the cyclone build tag is absent; both constructors return a descriptive error so callers can fall back gracefully to the mock implementation.

To build the real CGo implementation:

apt-get install -y libcyclonedds-dev   # Debian/Ubuntu
brew install cyclonedds                # macOS
go build -tags cyclone ./...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(_ dds.Domain) (dds.Participant, error)

New returns an error when the cyclone build tag is absent.

func NewWithOptions

func NewWithOptions(_ dds.Domain, _ Options) (dds.Participant, error)

NewWithOptions returns an error when the cyclone build tag is absent.

Types

type Options

type Options struct {
	PollInterval time.Duration
}

Options configures a CycloneDDS participant. Defined here so that code referencing cyclone.Options compiles regardless of build tags.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL