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

Method enabled_endpoints

api/src/proxy/config.rs:131–133  ·  view source on GitHub ↗

Get enabled endpoint configurations

(&self)

Source from the content-addressed store, hash-verified

129
130 /// Get enabled endpoint configurations
131 pub fn enabled_endpoints(&self) -> Vec<&EndpointConfig> {
132 self.endpoints.iter().filter(|e| e.enabled).collect()
133 }
134}

Callers 1

create_routerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected