nats.go:NATS(云原生消息传递系统)的Golang客户端

时间:2021-02-02 15:46:03
【文件属性】:
文件名称:nats.go:NATS(云原生消息传递系统)的Golang客户端
文件大小:198KB
文件格式:ZIP
更新时间:2021-02-02 15:46:03
go golang microservices nats cloud-native NATS-Go客户 客户端。 安装 # Go client go get github.com/nats-io/nats.go/ # Server go get github.com/nats-io/nats-server 使用或转换为Go模块支持时: # Go client latest or explicit version go get github.com/nats-io/nats.go/@latest go get github.com/nats-io/nats.go/@v1.10.0 # For latest NATS Server, add /v2 at the end go get github.com/nats-io/nats-server/v2 # NATS Server v1 is installed otherwise # go get github.com/nats-io/nats-server 基本用法 import nats "github.com/nats-io/nats.go" // Connect to a server nc , _ := na
【文件预览】:
nats.go-master
----.travis.yml(619B)
----CODE-OF-CONDUCT.md(138B)
----timer_test.go(985B)
----parser.go(11KB)
----enc.go(8KB)
----context.go(5KB)
----.github()
--------ISSUE_TEMPLATE()
----test()
--------gob_test.go(3KB)
--------sub_test.go(37KB)
--------json_test.go(8KB)
--------cluster_test.go(21KB)
--------netchan_test.go(7KB)
--------bench_test.go(4KB)
--------helper_test.go(4KB)
--------reconnect_test.go(19KB)
--------auth_test.go(10KB)
--------headers_test.go(3KB)
--------basic_test.go(26KB)
--------configs()
--------drain_test.go(12KB)
--------context_test.go(31KB)
--------js_test.go(37KB)
--------conn_test.go(64KB)
--------protobuf_test.go(4KB)
--------enc_test.go(10KB)
----GOVERNANCE.md(189B)
----example_test.go(6KB)
----encoders()
--------builtin()
--------protobuf()
----LICENSE(11KB)
----TODO.md(946B)
----dependencies.md(567B)
----netchan.go(4KB)
----examples()
--------nats-sub()
--------nats-bench()
--------nats-pub()
--------nats-qsub()
--------nats-req()
--------nats-rply()
--------nats-echo()
----bench()
--------bench.go(9KB)
--------benchlib_test.go(6KB)
----.gitignore(364B)
----js.go(31KB)
----timer.go(1KB)
----go.sum(6KB)
----nats_test.go(71KB)
----README.md(13KB)
----norace_test.go(4KB)
----util()
--------tls_go17.go(2KB)
--------tls.go(794B)
----scripts()
--------cov.sh(887B)
----MAINTAINERS.md(310B)
----jsm.go(15KB)
----nats.go(121KB)
----enc_test.go(8KB)
----go.mod(264B)

网友评论