MCPcopy Create free account
hub / github.com/HFQR/xitca-web / construct

Function construct

postgres/src/proxy.rs:170–177  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

168 use super::*;
169
170 #[test]
171 fn construct() {
172 let addr = "127.0.0.1:0".parse().unwrap();
173 let _ = Proxy::with_cert("", "")
174 .upstream_addr(addr)
175 .listen_addr(addr)
176 .white_list(vec![addr])
177 .white_list([addr]);
178 }
179}

Callers

nothing calls this directly

Calls 4

white_listMethod · 0.80
listen_addrMethod · 0.80
upstream_addrMethod · 0.80
parseMethod · 0.45

Tested by

no test coverage detected