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
use std::sync::Arc;

use dashmap::DashMap;
use pingora_load_balancing::{selection::RoundRobin, LoadBalancer};

/// A store for routes that is updated in a background thread
pub type RouteStore = Arc<DashMap<String, Arc<LoadBalancer<RoundRobin>>>>;