chore: get port

This commit is contained in:
2021-09-04 14:38:31 +08:00
parent 60a732ef0c
commit fbed7fb2ef

View File

@@ -58,6 +58,10 @@ pub struct CertConfig {
}
impl CertConfig {
// pub fn get_port(&self, port: Option<u16>) -> u16 {
// self.port.or(port).unwrap_or(80)
// }
pub fn filter_cert_config_items(self, valid_days: i32) -> Self {
let mut filtered_cert_items = vec![];