SetStreamHandler 来为"/ipfs/ping/1.0.0" 协议指定callback 方法,这里指定了PingHandler 方法,参数中的inet.Stream 接口对io 接口做了扩展,这里要 ...
確定! 回上一頁