MCPcopy Create free account
hub / github.com/YougLin-dev/amp-server / new

Method new

api/src/proxy/service.rs:22–26  ·  view source on GitHub ↗
(config: ProxyConfig)

Source from the content-addressed store, hash-verified

20
21impl ProxyService {
22 pub fn new(config: ProxyConfig) -> Self {
23 Self {
24 config,
25 }
26 }
27
28 pub fn create_router(&self) -> Router {
29 let mut router = Router::new();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected