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

Function MakeRpcProxyWithSize

pkg/wshutil/wshproxy.go:27–34  ·  view source on GitHub ↗
(peerInfo string, inputChSize int, outputChSize int)

Source from the content-addressed store, hash-verified

25}
26
27func MakeRpcProxyWithSize(peerInfo string, inputChSize int, outputChSize int) *WshRpcProxy {
28 return &WshRpcProxy{
29 Lock: &sync.Mutex{},
30 ToRemoteCh: make(chan []byte, inputChSize),
31 FromRemoteCh: make(chan baseds.RpcInputChType, outputChSize),
32 PeerInfo: peerInfo,
33 }
34}
35
36func (p *WshRpcProxy) GetPeerInfo() string {
37 return p.PeerInfo

Callers 2

HandleWsInternalFunction · 0.92
MakeRpcProxyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected