Start runs and coordinate with server

This commit is contained in:
Joscha 2023-08-12 02:16:02 +02:00
parent f79468c871
commit b23fc6460f
6 changed files with 296 additions and 32 deletions

View file

@ -9,6 +9,10 @@ fn random_id(prefix: &str, length: usize) -> String {
.collect()
}
pub fn random_run_id() -> String {
random_id("r-", 30)
}
pub fn random_worker_token() -> String {
random_id("t-", 30)
}