gnet @ v1.2.0
integrity
- size
- 86.6 KiB
- downloaded
- last checked
- overlays
- go
- detected
- go module github.com/panjf2000/gnet
release notes
Features
- Support graceful shutdown with OS signals (Fixes #82)
Enhancements
- Improve the creation processes of netpoller (Fixes #72) ccc6c25923404195e7fba960d6cdfb57d3a7cea4
- Reuse slice struct when resetting buffer 916c255de373b3ff73eaa10cb1f0bacc2c1b6e3f
- Make a big allocation on ring-buffer at the first time 61963bd439beba73ef29c74b9870442c867e192a
Docs
- Update
Featuressection in READMEs a0d53f5061405901e17df4fa9760633edd9f1d98 - Add a new article about gnet d500bf449f7808df210ff859014387a833c2f9f2
- Supplement the missing acknowledgment item b031357ed623f630048a9222229e76c05cb7e6ef
Misc
- Enable ReadN(int) to handle corner cases 2e89e255fd636371c0671542387e807bcd18a496
- Leverage reviewdog as automated code review tool 5db42f9413a7f17b6e6d8383f0e9c7c6dbf3a9d7
- Use customized logger to log errors instead of std log package 3a697014af6c6a61828147d2def1f7a543e149b6
- Remove useless field of server 47817a0b7098443d141e8857cbfc4d30f13b3965
- Unexport some errors 5287bd8bde31bbcdfc482810479cd6c773afdeeb
download
unix · zip
curl -fL -o v1.2.0.zip https://ratatoskr.space/pkg/gnet/v1.2.0.zip
printf '%s %s\n' 'd0d4a777143bd5960e2ec1315cb8b4961c7335d270fc26a7006a2962f56707c3' 'v1.2.0.zip' | sha256sum -c -
windows · zip
$url = "https://ratatoskr.space/pkg/gnet/v1.2.0.zip"
$out = "v1.2.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "d0d4a777143bd5960e2ec1315cb8b4961c7335d270fc26a7006a2962f56707c3") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.2.0.tar.gz https://ratatoskr.space/pkg/gnet/v1.2.0.tar.gz
printf '%s %s\n' 'df4bda741a2e3c2992e86a0e11caa513c4beb237b06a7057f984c79325bab484' 'v1.2.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "https://ratatoskr.space/pkg/gnet/v1.2.0.tar.gz"
$out = "v1.2.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "df4bda741a2e3c2992e86a0e11caa513c4beb237b06a7057f984c79325bab484") { throw "sha256 mismatch" }
download via yggdrasil mesh
unix · zip
curl -fL -o v1.2.0.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/gnet/v1.2.0.zip
printf '%s %s\n' 'd0d4a777143bd5960e2ec1315cb8b4961c7335d270fc26a7006a2962f56707c3' 'v1.2.0.zip' | sha256sum -c -
windows · zip
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/gnet/v1.2.0.zip"
$out = "v1.2.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "d0d4a777143bd5960e2ec1315cb8b4961c7335d270fc26a7006a2962f56707c3") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.2.0.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/gnet/v1.2.0.tar.gz
printf '%s %s\n' 'df4bda741a2e3c2992e86a0e11caa513c4beb237b06a7057f984c79325bab484' 'v1.2.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/gnet/v1.2.0.tar.gz"
$out = "v1.2.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "df4bda741a2e3c2992e86a0e11caa513c4beb237b06a7057f984c79325bab484") { throw "sha256 mismatch" }
| artifact | format | size | hashes |
|---|---|---|---|
| v1.2.0.zip | zip | 85.9 KiB |
blake3-24 c2b2bb6dedc18d4ad200a2df6da3f9d6fc3a3d439d0c68db
sha256 d0d4a777143bd5960e2ec1315cb8b4961c7335d270fc26a7006a2962f56707c3
sha1 26e5e3df686ab57d83681a936184abd13a74fcf3
|
| v1.2.0.tar.gz | tar.gz | 59.3 KiB |
blake3-24 a5490327588b849d001bf2eb9f3c1bbc6395721e405d113f
sha256 df4bda741a2e3c2992e86a0e11caa513c4beb237b06a7057f984c79325bab484
sha1 742a96af90618a088b4dc6a7b5cad7187c2905e6
|
go module archive
module zip with the module path rewritten to this mirror; fetched by go get through the
GOPROXY route
| artifact | format | size | hashes |
|---|---|---|---|
| v1.2.0.zip | zip | 87.1 KiB |
blake3-24 0a9f0579d996f0dc9630c9a7a2b3b2935c736e01f0b3673a
sha256 4803c4139acc8053c638bb0bb63462be235cfb10e8895ef5945136af40088ffd
sha1 96b7ef2a9ba48b2e7e8bd68c196daa55b2c491cf
|
install
bazel
http_archive(
name = "gnet",
urls = ["https://ratatoskr.space/pkg/gnet/v1.2.0.tar.gz"],
integrity = "sha256-30vadBouPCmS6GoOEcqlE8S+sjewanBX+YTHkyW6tIQ=",
strip_prefix = "gnet-v1.2.0",
)
zig
.url = "https://ratatoskr.space/pkg/gnet/v1.2.0.tar.gz",
go
GOPROXY=https://ratatoskr.space GOSUMDB=off go get ratatoskr.space/pkg/gnet@v1.2.0
install via yggdrasil mesh
bazel
http_archive(
name = "gnet",
urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/gnet/v1.2.0.tar.gz"],
integrity = "sha256-30vadBouPCmS6GoOEcqlE8S+sjewanBX+YTHkyW6tIQ=",
strip_prefix = "gnet-v1.2.0",
)
zig
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/gnet/v1.2.0.tar.gz",
go
GOPROXY=http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg GOSUMDB=off GOINSECURE=14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/* go get 14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/gnet@v1.2.0