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

Function MakeWshRpc

pkg/wshutil/wshrpc.go:241–243  ·  view source on GitHub ↗
(rpcCtx wshrpc.RpcContext, serverImpl ServerImpl, debugName string)

Source from the content-addressed store, hash-verified

239}
240
241func MakeWshRpc(rpcCtx wshrpc.RpcContext, serverImpl ServerImpl, debugName string) *WshRpc {
242 return MakeWshRpcWithChannels(nil, nil, rpcCtx, serverImpl, debugName)
243}
244
245func (w *WshRpc) GetRpcContext() wshrpc.RpcContext {
246 rtnPtr := w.RpcContext.Load()

Callers 5

GetMainRpcClientFunction · 0.92
GetBareRpcClientFunction · 0.92
createMainWshClientFunction · 0.92
registerControlPlaneMethod · 0.85

Calls 1

MakeWshRpcWithChannelsFunction · 0.85

Tested by

no test coverage detected