🎉 init

This commit is contained in:
JMARyA 2025-04-28 18:44:09 +02:00
commit 812c4adb15
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
16 changed files with 4631 additions and 0 deletions

16
src/sheepd_core/config.rs Normal file
View file

@ -0,0 +1,16 @@
use owl::{Deserialize, Serialize};
#[derive(Serialize, Deserialize)]
pub struct AgentConfig {
pub home: String,
pub token: String,
}
impl AgentConfig {
pub fn new(home_server: &str, token: &str) -> Self {
Self {
home: home_server.to_string(),
token: token.to_string(),
}
}
}