Skip to main content

Module channel

Module channel 

Source
Expand description

CLI channel implementation.

Implements the Channel trait from oxios-gateway so the CLI can plug into the gateway like any other channel.

Uses mpsc channels to bridge:

  • Incoming: User typed input → mpsc → Gateway → Kernel
  • Outgoing: Kernel → Gateway → mpsc → stdout

Structs§

CliChannel
The CLI channel adapter.
CliChannelHandle
Handle to the CLI channel, used to inject messages from the readline loop.