(peerInfo string, inputChSize int, outputChSize int)
| 25 | } |
| 26 | |
| 27 | func 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 | |
| 36 | func (p *WshRpcProxy) GetPeerInfo() string { |
| 37 | return p.PeerInfo |
no outgoing calls
no test coverage detected