flowrlib/services.rs
1/// The mDNS service type for flow services
2pub const FLOW_SERVICE_TYPE: &str = "_flowr._tcp.local.";
3
4/// `JOB_SERVICE_NAME` can be used to discover the queue serving jobs for execution
5pub const JOB_SERVICE_NAME: &str = "jobs";
6
7/// `RESULTS_JOB_SERVICE_NAME` can be used to discover the queue where to send job results
8pub const RESULTS_JOB_SERVICE_NAME: &str = "results";
9
10/// `CONTROL_SERVICE_NAME` is a control PUB/SUB socket used to control executors that
11/// are listening on the `JOB_SERVICE` and sending results back via the `RESULTS_SERVICE`
12pub const CONTROL_SERVICE_NAME: &str = "control";
13
14/// Use this to discover the coordinator service by name
15pub const COORDINATOR_SERVICE_NAME: &str = "runtime";
16
17/// Use this to discover the debug service by name
18#[cfg(feature = "debugger")]
19pub const DEBUG_SERVICE_NAME: &str = "debug";