proksi 0.1.10

A batteries-included reverse proxy with automatic HTTPS using Cloudflare Pingora and Let's Encrypt.
1
2
3
4
5
6
7
8
9
10
use std::sync::Arc;

use dashmap::DashMap;

pub struct Certificate {
    pub key: Vec<u8>,
    pub certificate: Vec<u8>,
}

pub type CertificateStore = Arc<DashMap<String, Certificate>>;