【文件属性】:
文件名称:vroom-elixir:VROOM(车辆路由开放源代码优化机)HTTP客户端的实现
文件大小:14KB
文件格式:ZIP
更新时间:2021-04-16 12:11:15
Elixir
vroom-elixir
Elixir的VROOM(车辆路由开放源代码优化机)HTTP客户端的实现。
用法
安装
defp deps () do
[
{ :vroom , " ~> 0.1.0 " }
]
end
配置
# config/config.exs
config :vroom , VROOM ,
url: " VROOM URL "
# config/prod.exs
config :vroom , VROOM ,
url: " VROOM URL PROD "
例子
defmodule Router do
def solve_route do
shipment = % VROOM . Shipment {
amount: [ 1 ],
pickup: % VROOM . ShipmentStep {
【文件预览】:
vroom-elixir-main
----mix.lock(4KB)
----.gitignore(623B)
----mix.exs(1KB)
----.formatter.exs(97B)
----LICENSE(1KB)
----.github()
--------workflows()
----README.md(1KB)
----.credo.exs(7KB)
----config()
--------test.exs(45B)
--------config.exs(281B)
--------dev.exs(15B)
----lib()
--------request.ex(1KB)
--------vroom()
--------vroom.ex(611B)
----test()
--------vroom_test.exs(1KB)
--------test_helper.exs(15B)