oa_gateway

Module config

Source
Expand description

Host TOML: one section per adapter, plus the UCI schema the host compiles.

Unknown keys are refused so a typo fails at startup instead of being ignored. A missing section is not an error: each one deserializes as its Default.

Modulesยง

  • dds ๐Ÿ”’
    [dds] section: the DDS adapter toward a domain.
  • engine ๐Ÿ”’
    [engine] section: process-wide router reporting.
  • loopback ๐Ÿ”’
    [loopback] section: the in-process adapter with no socket.
  • owp ๐Ÿ”’
    [owp] section: the OWP/WebSocket server.
  • stomp ๐Ÿ”’
    [stomp] section: the STOMP client toward an ActiveMQ (or other) broker.
  • uci ๐Ÿ”’
    [uci] section: schema documents and what to do when a payload is not one.

Structsยง

  • Config ๐Ÿ”’
    Root document of a host config file.

Functionsยง

  • default_true ๐Ÿ”’
    Serde default for fields that must be true when omitted.
  • load ๐Ÿ”’
    Reads and parses the TOML file at path.