MCPcopy Create free account
hub / github.com/ElementsProject/lightning / new

Method new

plugins/lsps-plugin/src/core/router.rs:52–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50
51impl JsonRpcRouterBuilder {
52 pub fn new() -> Self {
53 Self {
54 handlers: HashMap::new(),
55 }
56 }
57
58 pub fn register<P, R, F, Fut>(&mut self, method: &'static str, handler: F)
59 where

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected