Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ananthakumaran/toxiproxy-elixir

elixir client for Toxiproxy
https://github.com/ananthakumaran/toxiproxy-elixir

elixir toxiproxy

Last synced: about 1 month ago
JSON representation

elixir client for Toxiproxy

Awesome Lists containing this project

README

        

# Toxiproxy

[![Hex.pm](https://img.shields.io/hexpm/v/toxiproxy.svg)](https://hex.pm/packages/toxiproxy)

elixir client for [toxiproxy](https://github.com/Shopify/toxiproxy)

## Installation

Add `toxiproxy` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[{:toxiproxy, "~> 0.6.0"}]
end
```

Add the hostname and adapter in the config file.

```elixir
config :toxiproxy,
host: "http://127.0.0.1:8474",
adapter: Tesla.Adapter.Hackney
```

See [tesla](https://github.com/teamon/tesla#adapters-1) for the list of supported adapters.