Mnet is a collection of superfast networking packages with implementations from ontop of tcp
, udp
, and others as planned. It exists to provide a lightweight foundation where other higher level APIs can
be built on.
go get -v github.com/influx6/mnet/...
Mnet presents a flexible design in the approach of hpw structures are built. The mnet.Client
is a special case which is shared among the differing protocols of tcp
, udp
and websocket
. Each provides the mnet.Client
struct with appropriate methods to allow the client perform the expected operations required.
This approach allows a massive level of flexibility and easily lets us swap in like lego blocks methods to power the underline protocol operations.
Mnet provides the mtcp package which implements a lightweight tcp server and client implementations with blazing fast data transfers by combining minimal data copy with data buffering techniques.
Mtcp like all Mnet packages are foundation, in that they lay the necessary foundation to transfer at blazing speed without being too opinionated on how you build on top.
See MTCP for more.
Mnet provides the mudp package which implements a lightweight udp server and client implementations with blazing fast data transfers by combining minimal data copy with data buffering techniques.
Mudp like all Mnet packages are foundation, in that they lay the necessary foundation to transfer at blazing speed without being too opinionated on how you build on top.
Mnet provides the msocks package which implements a lightweight websocket server and client implementations with blazing fast data transfers by combining minimal data copy with data buffering techniques.
Msocks like all Mnet packages are foundation, in that they lay the necessary foundation to transfer at blazing speed without being too opinionated on how you build on top.
- Fork this repository to your own GitHub account and then clone it to your local device
- Make your changes with clear git commit messages.
- Create a PR request with detail reason for change.
Do reach out anything, if PR takes time for review. :)