ExTier
ExTier is an elixir client for Tier.run, documentation can be found at https://hexdocs.pm/ex_tier.
Installation
The package can be installed by adding ex_tier to your list of dependencies in mix.exs:
def deps do
[
{:ex_tier, "~> 0.0"}
]
end
Configuration
URL
You need to specify where does the Tier server is reachable:
config :ex_tier, url: "http://localhost:8080"
Tesla
ExTier depends on Tesla to perform HTTP requests. You are required to specify which Tesla adapter you want to use.
config :ex_tier, adapter: Tesla.Adapter.Httpc,
You can also configure an adapter's options via:
config :ex_tier, adapter: {Tesla.Adapter.Finch, name: ExTier}
Compatibility
| ExTier | Tier | Erlang/OTP | Elixir |
|---|---|---|---|
>= 0.0.0 |
>= 0.0.0 |
>= 23.0.0 |
>= 1.14.0 |
License
ExTier is released under the Apache License 2.0 - see the LICENSE file.