logo

Module kvarn::ctl

source · []
Expand description

Control the Kvarn server from the outside.

Plugins can be added using RunConfig::add_plugin.

Structs

The arguments passed by kvarnctl to a Plugin.

A response in reply to the request kvarnctl sent.

The plugins this Kvarn instance supports.

Enums

The kind of response to send back to kvarnctl. See PluginResponse for more details.

Functions

Check if args has no arguments. If that’s the case, an error with the appropriate PluginResponse is returned. Use the if let Err() pattern to easily return.

Type Definitions

A plugin, similar to the extensions. One can easily be constructed using the plugin! macro.