vh 0.1.0

VHost manager for local development.
1
2
3
4
5
6
7
8
9
10
11
12
use serde::{Deserialize, Serialize};
use chrono::{DateTime, Utc};
use std::path::PathBuf;

#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct DomainConfig {
    pub name: String,
    pub domain: String,
    pub cert_path: PathBuf,
    pub key_path: PathBuf,
    pub created_at: DateTime<Utc>,
}