MCPcopy Create free account
hub / github.com/wavetermdev/waveterm / SetServerImpl

Method SetServerImpl

pkg/wshutil/wshrpc.go:462–467  ·  view source on GitHub ↗
(serverImpl ServerImpl)

Source from the content-addressed store, hash-verified

460}
461
462func (w *WshRpc) SetServerImpl(serverImpl ServerImpl) {
463 validateServerImpl(serverImpl)
464 w.Lock.Lock()
465 defer w.Lock.Unlock()
466 w.ServerImpl = serverImpl
467}
468
469func (w *WshRpc) registerRpc(handler *RpcRequestHandler, command string, route string, reqId string) chan *RpcMessage {
470 w.Lock.Lock()

Callers

nothing calls this directly

Calls 1

validateServerImplFunction · 0.85

Tested by

no test coverage detected