cupido 0.3.5

Explore your codebase with graph view.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::relation::graph::RelationGraph;

pub struct ServerConfig {
    pub port: u16,
    pub graph: RelationGraph,
}

impl ServerConfig {
    pub fn new(cupido_graph: RelationGraph) -> ServerConfig {
        return ServerConfig {
            port: 9410,
            graph: cupido_graph,
        };
    }
}