NewPersistentCaller returns a persistent RPCCaller. IMPORTANT: If a PersistentCaller is firstly used by a DHT.Ping, which is an anonymous ETLS connection. It should not be used by any other RPC except DHT.Ping.
(target proto.NodeID)
| 60 | // IMPORTANT: If a PersistentCaller is firstly used by a DHT.Ping, which is an anonymous |
| 61 | // ETLS connection. It should not be used by any other RPC except DHT.Ping. |
| 62 | func NewPersistentCaller(target proto.NodeID) *PersistentCaller { |
| 63 | return NewPersistentCallerWithPool(defaultPool, target) |
| 64 | } |
no test coverage detected