coap_ex:支持 Phoenix 的 CoAP ServerClient

时间:2021-05-31 07:24:21
【文件属性】:
文件名称:coap_ex:支持 Phoenix 的 CoAP ServerClient
文件大小:39KB
文件格式:ZIP
更新时间:2021-05-31 07:24:21
Elixir 合作协议 用于构建受限应用程序协议并与之交互的服务器和客户端。 允许使用 Plug and Phoenix 或独立模块。 安装 如果,包装可以通过添加安装coap你在依赖列表mix.exs : def deps do [ { :coap_ex , " ~> 0.1.0 " } ] end 可以使用生成文档并在上。 发布后,可以在找到文档。 设置 创建一个新的路由器和端点: defmodule MyApp.Coap.Router do use MyApp.Web, :router end defmodule MyApp.Coap.Endpoint do use Phoenix.Endpoint, otp_app: :my_app plug(MyApp.Coap.Router) end 在凤凰config.exs : config :my_app,
【文件预览】:
coap_ex-master
----mix.lock(4KB)
----.gitignore(591B)
----mix.exs(982B)
----.formatter.exs(84B)
----LICENSE(1KB)
----README.md(4KB)
----.dialyzer()
--------ignore.exs(3B)
----.credo.exs(7KB)
----config()
--------test.exs(45B)
--------config.exs(49B)
--------dev.exs(45B)
----lib()
--------coap()
--------coap.ex(410B)
----.circleci()
--------config.yml(3KB)
----test()
--------coap()
--------test_helper.exs(15B)

网友评论