easygo
easygo copied to clipboard
Tools for building go apps.
@gobwas can we add this?
I'm experimenting using netpoller with tls and websocket (github.com/gobwas/ws/wsutil), and I am concerned that with larger messages, the nonblocking socket read will return less than is needed to complete the...
if use tls.Listen(), netpoll.must Will fail,The reason for the failure is "could not get file descriptor", so support tls?
I'm new to Go and having to build this software in a hurry, so the copy/paste helps a lot! As I will need to do the same for my code,...
If I had more than one 'conn' to poll, then how will I know which 'conn' to read from CallbackFn(), if 'conn' was not defined as global? Thanks
See the code below: 1. setNonblock(desc.fd(), true) 2. desc.fd() The second desc.fd() will set the kernel file description block again. #11 is likely related.
I see in the implementation of epoll.wait() and kqueue.wait() you use a iterative way to execute all the callbacks, why not use goroutines to concurrently execute them for more effitiency?...