nervosnetwork / tentacle

A multiplexed p2p network framework that supports custom protocols
https://docs.rs/tentacle
MIT License
54 stars 24 forks source link

refact: use generic type instead of lots of specific type #317

Closed driftluo closed 3 years ago

driftluo commented 3 years ago

clean code with a generic type, I hope the existence type can be used as soon as possible