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

Struct WshRpcProxy

pkg/wshutil/wshproxy.go:15–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13)
14
15type WshRpcProxy struct {
16 Lock *sync.Mutex
17 RpcContext *wshrpc.RpcContext
18 ToRemoteCh chan []byte
19 FromRemoteCh chan baseds.RpcInputChType
20 PeerInfo string
21}
22
23func MakeRpcProxy(peerInfo string) *WshRpcProxy {
24 return MakeRpcProxyWithSize(peerInfo, DefaultInputChSize, DefaultOutputChSize)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected