MCPcopy
hub / github.com/wavetermdev/waveterm / GetRpcContext

Method GetRpcContext

pkg/wshutil/wshrpc.go:245–248  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

243}
244
245func (w *WshRpc) GetRpcContext() wshrpc.RpcContext {
246 rtnPtr := w.RpcContext.Load()
247 return *rtnPtr
248}
249
250func (w *WshRpc) SetRpcContext(ctx wshrpc.RpcContext) {
251 w.RpcContext.Store(&ctx)

Callers 3

handleRequestInternalMethod · 0.95
ConnUpdateWshCommandMethod · 0.45
GetConnNameFromContextFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected