nats-go @ v1.2.2
integrity
- size
- 99.3 KiB
- downloaded
- last checked
release notes
Changelog
Added
- Support for cluster auto-discovery with servers v0.9.4+
Conn.IsConnectedmethod to verify if client is connectedConn.DiscoveredServersto get the list of servers discovered after initial connect to server part of a cluster (with servers v0.9.4+)- Custom Dialers for
nats.Connect() staticcheckin Travis build
Updated
- README’s Clustered Usage section
- Travis build with
go 1.7.3
Removed
- Travis build with
go 1.5
Fixed
- Use default connect timeout in
opts.Connect()if none is specified - Chan subscribers could not receive more than 65536 messages
- Allow message size of 0 in
examples/nats-bench.go - Ensure message count is greater than 0 in
examples/nats-bench.go - If
Options.Urlis set, ensure it is tried first on initial connect - Data race with
Conn.LastError() - Warning from
go 1.7.3with TLS config copy
Complete Changes
download
unix · zip
curl -fL -o v1.2.2.zip https://ratatoskr.space/pkg/nats-go/v1.2.2.zip
printf '%s %s\n' 'c4d6202e96ff2adbea8c3a62f9c9dc3c48770e32ce93a2b5b2cf53f44db5fa79' 'v1.2.2.zip' | sha256sum -c -
windows · zip
$url = "https://ratatoskr.space/pkg/nats-go/v1.2.2.zip"
$out = "v1.2.2.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "c4d6202e96ff2adbea8c3a62f9c9dc3c48770e32ce93a2b5b2cf53f44db5fa79") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.2.2.tar.gz https://ratatoskr.space/pkg/nats-go/v1.2.2.tar.gz
printf '%s %s\n' 'd715e059e3f3b9d86f022850646b79fcb6b4bd4f177f8451b6b79270b6991d2e' 'v1.2.2.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "https://ratatoskr.space/pkg/nats-go/v1.2.2.tar.gz"
$out = "v1.2.2.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "d715e059e3f3b9d86f022850646b79fcb6b4bd4f177f8451b6b79270b6991d2e") { throw "sha256 mismatch" }
download via yggdrasil mesh
unix · zip
curl -fL -o v1.2.2.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.2.2.zip
printf '%s %s\n' 'c4d6202e96ff2adbea8c3a62f9c9dc3c48770e32ce93a2b5b2cf53f44db5fa79' 'v1.2.2.zip' | sha256sum -c -
windows · zip
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.2.2.zip"
$out = "v1.2.2.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "c4d6202e96ff2adbea8c3a62f9c9dc3c48770e32ce93a2b5b2cf53f44db5fa79") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.2.2.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.2.2.tar.gz
printf '%s %s\n' 'd715e059e3f3b9d86f022850646b79fcb6b4bd4f177f8451b6b79270b6991d2e' 'v1.2.2.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.2.2.tar.gz"
$out = "v1.2.2.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "d715e059e3f3b9d86f022850646b79fcb6b4bd4f177f8451b6b79270b6991d2e") { throw "sha256 mismatch" }
| artifact | format | size | hashes |
|---|---|---|---|
| v1.2.2.zip | zip | 99.1 KiB |
blake3-24 766bb9360ed287086e6ce4c0a358a4956455670d814373ed
sha256 c4d6202e96ff2adbea8c3a62f9c9dc3c48770e32ce93a2b5b2cf53f44db5fa79
sha1 b60698ad2d70b174167d1120dfa4ff53b3e675f3
|
| v1.2.2.tar.gz | tar.gz | 77.9 KiB |
blake3-24 f9ef344091da2adff1cfc47af1abe1df9f4c831f63373aff
sha256 d715e059e3f3b9d86f022850646b79fcb6b4bd4f177f8451b6b79270b6991d2e
sha1 e9fe12de5fcfb7aed57aad30b5644b351a93b1f9
|
install
bazel
http_archive(
name = "nats-go",
urls = ["https://ratatoskr.space/pkg/nats-go/v1.2.2.tar.gz"],
integrity = "sha256-1xXgWePzudhvAihQZGt5/La0vU8Xf4RRtreScLaZHS4=",
strip_prefix = "nats-go-v1.2.2",
)
zig
.url = "https://ratatoskr.space/pkg/nats-go/v1.2.2.tar.gz",
install via yggdrasil mesh
bazel
http_archive(
name = "nats-go",
urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.2.2.tar.gz"],
integrity = "sha256-1xXgWePzudhvAihQZGt5/La0vU8Xf4RRtreScLaZHS4=",
strip_prefix = "nats-go-v1.2.2",
)
zig
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.2.2.tar.gz",