MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / IsRootRouter

Method IsRootRouter

pkg/wshutil/wshrouter.go:169–173  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

167}
168
169func (router *WshRouter) IsRootRouter() bool {
170 router.lock.Lock()
171 defer router.lock.Unlock()
172 return router.isRootRouter
173}
174
175func (router *WshRouter) GetControlRpc() *WshRpc {
176 return router.controlRpc

Callers 7

RegisterUpstreamMethod · 0.95
unbindRouteMethod · 0.95
bindRouteMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected