15 lines
584 B
Rust
15 lines
584 B
Rust
|
// Code to handle the nebula worker
|
||
|
// This is an inert version of the nebula worker that does nothing, used when linking to nebula is diabled.
|
||
|
// This is useful if you wish to run your own nebula binary, for example on platforms where CGo does not work.
|
||
|
|
||
|
use crate::config::TFClientConfig;
|
||
|
use crate::daemon::ThreadMessageSender;
|
||
|
use std::sync::mpsc::Receiver;
|
||
|
|
||
|
pub enum NebulaWorkerMessage {
|
||
|
Shutdown,
|
||
|
ConfigUpdated,
|
||
|
WakeUp,
|
||
|
}
|
||
|
|
||
|
pub fn nebulaworker_main(_config: TFClientConfig, _instance: String, _transmitter: ThreadMessageSender, _rx: Receiver<NebulaWorkerMessage>) {}
|