Toxiproxy
elixir client for toxiproxy
Installation
Add toxiproxy to your list of dependencies in mix.exs:
def deps do
[{:toxiproxy, "~> 0.1.0"}]
endAdd the hostname and adapter in the config file.
config :toxiproxy,
host: "http://127.0.0.1:8474",
adapter: Tesla.Adapter.HackneySee tesla for the list of supported adapters.
Ensure toxiproxy and the http library are started before your application:
def application do
[applications: [:hackney, :toxiproxy]]
end