aboutsummaryrefslogtreecommitdiff
path: root/src/config.rs
blob: 99e8cffd94b9f2367f9479c5b1963a847fb6c045 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Configuration to run octopus

pub struct Config {
    app_path: String,
    port: u16,
    handle_ssl: bool,
    cache_path: String,
    repos_path: String,
    repo_discovery: bool,
    repos: Vec<RepoConfig>
}

pub struct RepoConfig {
    name: String,
    description: String,
    category: String,
}