Signed-off-by: hackerchai <i@hackerchai.com> feat(c/libuv): Add uv_signal_stop func Signed-off-by: hackerchai <i@hackerchai.com> feat(c/libuv): Add GetIoWatcher, GetFd func & add Io srtuct Signed-off-by: hackerchai <i@hackerchai.com> refactor(c/libuv): Rename some func refactor(c/libuv): Remove net go wrapper refactor(c/libuv): Add GetIoWatcherFd func
LLGo wrapper of libuv
How to install
on macOS (Homebrew)
brew install libuv
on Linux (Debian/Ubuntu)
apt-get install -y libuv1-dev
on Linux (CentOS/RHEL)
yum install -y libuv-devel
on Linux (Arch Linux)
pacman -S libuv
Demos
The _demo directory contains our demos (it start with _ to prevent the go command from compiling it):
- async_fs: a simple async file read demo
- echo_server: a basic async tcp echo server
How to run demos
To run the demos in directory _demo:
cd <demo-directory> # eg. cd _demo/sqlitedemo
llgo run .