nats-go @ v1.9.0
integrity
- size
- 161.6 KiB
- downloaded
- last checked
- overlays
- go
- detected
- go module github.com/nats-io/nats.go
release notes
Changelog
With the release of Go 1.13.3, the go get github.com/nats-io/nats.go is now working!
Added
- Notes in README on using
go getand Go modules (#481) NoCallbacksAfterClientClose()connection option to prevent invocation of connection callback on explicit Close() (#514)
Updated
- Examples (log error, use Drain(), etc..)
- Replaced use of
DisconnectHandlerwithDisconnectErrHandlerin our examples. Thanks to @kaxap for the contribution (#504)
Improved
- When creating a subscription, error will now be reported if using a bad subject or queue name (#500)
- Support for
~when providing the user credentials file(s) (#512)
Fixed
- Document issues. Thanks to @JensRantil for the report.
- Some errors in code examples in the README. Thanks to @thylong for the contribution (#507)
- Allow synchronous subscriptions to use
msg.Respond()when `AutoUnsubscribe() is used (#489) - Wrong error returned in
NextMsg()andNextMsgWithContext(). Thanks to @ekle for the report (#492) - Handling of expiration and auth errors on reconnect (#499, #506)
- Data race between
processMsg()andStats(). Thanks to @Will2817 for the report (#521)
Complete Changes
download
unix · zip
curl -fL -o v1.9.0.zip https://ratatoskr.space/pkg/nats-go/v1.9.0.zip
printf '%s %s\n' '830cc8da001f531aa806cbadd63c7b007d775e410ace8598eac4e373fd7de704' 'v1.9.0.zip' | sha256sum -c -
windows · zip
$url = "https://ratatoskr.space/pkg/nats-go/v1.9.0.zip"
$out = "v1.9.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "830cc8da001f531aa806cbadd63c7b007d775e410ace8598eac4e373fd7de704") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.9.0.tar.gz https://ratatoskr.space/pkg/nats-go/v1.9.0.tar.gz
printf '%s %s\n' '27c834f388e24f65fa6b0208c2f2003811197361f9a0a0fe76f4ce7fb36676de' 'v1.9.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "https://ratatoskr.space/pkg/nats-go/v1.9.0.tar.gz"
$out = "v1.9.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "27c834f388e24f65fa6b0208c2f2003811197361f9a0a0fe76f4ce7fb36676de") { throw "sha256 mismatch" }
download via yggdrasil mesh
unix · zip
curl -fL -o v1.9.0.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.9.0.zip
printf '%s %s\n' '830cc8da001f531aa806cbadd63c7b007d775e410ace8598eac4e373fd7de704' 'v1.9.0.zip' | sha256sum -c -
windows · zip
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.9.0.zip"
$out = "v1.9.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "830cc8da001f531aa806cbadd63c7b007d775e410ace8598eac4e373fd7de704") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.9.0.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.9.0.tar.gz
printf '%s %s\n' '27c834f388e24f65fa6b0208c2f2003811197361f9a0a0fe76f4ce7fb36676de' 'v1.9.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.9.0.tar.gz"
$out = "v1.9.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "27c834f388e24f65fa6b0208c2f2003811197361f9a0a0fe76f4ce7fb36676de") { throw "sha256 mismatch" }
| artifact | format | size | hashes |
|---|---|---|---|
| v1.9.0.zip | zip | 161.1 KiB |
blake3-24 8b6523aed108bf34fee033bc964d1e0ee247b927893d2514
sha256 830cc8da001f531aa806cbadd63c7b007d775e410ace8598eac4e373fd7de704
sha1 2b3fe47ffa848d4b35f59d03e6be30cd50cafcb6
|
| v1.9.0.tar.gz | tar.gz | 121.8 KiB |
blake3-24 255add3de8e15926c7d142108c8057e5bdb1db8c6507607b
sha256 27c834f388e24f65fa6b0208c2f2003811197361f9a0a0fe76f4ce7fb36676de
sha1 18010b9721dd5203bb5c9c6fb1eb3a48cae82051
|
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.9.0.zip | zip | 162.7 KiB |
blake3-24 de6980f61d4eadce8017a718a10781b6dc8d1d8f38a4ee72
sha256 7f41cef9a12b66ae2620a58775260b1ee253797e2986efae05a9f0aa10db3a45
sha1 52050b1b46c95964acfeedc84975ae7844104ea9
|
install
bazel
http_archive(
name = "nats-go",
urls = ["https://ratatoskr.space/pkg/nats-go/v1.9.0.tar.gz"],
integrity = "sha256-J8g084jiT2X6awIIwvIAOBEZc2H5oKD+dvTOf7Nmdt4=",
strip_prefix = "nats-go-v1.9.0",
)
zig
.url = "https://ratatoskr.space/pkg/nats-go/v1.9.0.tar.gz",
go
GOPROXY=https://ratatoskr.space GOSUMDB=off go get ratatoskr.space/pkg/nats-go@v1.9.0
install via yggdrasil mesh
bazel
http_archive(
name = "nats-go",
urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.9.0.tar.gz"],
integrity = "sha256-J8g084jiT2X6awIIwvIAOBEZc2H5oKD+dvTOf7Nmdt4=",
strip_prefix = "nats-go-v1.9.0",
)
zig
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.9.0.tar.gz",
go
GOPROXY=http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg GOSUMDB=off GOINSECURE=14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/* go get 14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go@v1.9.0