thalassa-http-client:一个不需要 ZeroMQ 的 Thalassa 的简单 http 客户端

时间:2021-07-11 04:51:08
【文件属性】:
文件名称:thalassa-http-client:一个不需要 ZeroMQ 的 Thalassa 的简单 http 客户端
文件大小:11KB
文件格式:ZIP
更新时间:2021-07-11 04:51:08
JavaScript 海水浴客户端 的轻量级客户端 安装 npm install thalassa-http-client 运行客户端 客户端可以运行: 从命令行 作为模块 从命令行运行客户端 你为什么要这样做? 假设您有一个不想更改的现有遗留 Java 应用程序。 您可以创建一个姊妹服务,它调用命令行客户端来代表它注册服务。 例如,如果 Thalassa 是全局安装的(否则为`./node_modules/.bin/thalassa-client): thalassa-client --register myapp@1.0.0:8080 --debug 这会在端口8080上的当前主机上注册名为my app的版本1.0.0的应用程序。 客户端将继续使用更新 ping Thalassa 服务器。 客户端命令行选项 thalassa-client --help Options: --host
【文件预览】:
thalassa-http-client-master
----bin()
--------client.js(2KB)
----index.js(8KB)
----package.json(833B)
----LICENSE(11KB)
----.gitignore(97B)
----lib()
--------defaultLogger.js(669B)
----README.md(4KB)

网友评论