Skip to content
Permalink
Browse files

update docs

  • Loading branch information
nothinux committed May 20, 2019
1 parent 07d7b63 commit 5bb6b897c45cba2a901657b089f364e29e3c6e44
Showing with 4 additions and 1 deletion.
  1. +4 −1 client/README.md
@@ -39,7 +39,10 @@ client := toxiproxy.NewClient("localhost:8474")

You can then create a new proxy using the client:
```go
proxy := client.CreateProxy("redis", "localhost:26379", "localhost:6379")
proxy, err := client.CreateProxy("redis", "localhost:26379", "localhost:6379")
if err != nil {
panic(err)
}
```

For large amounts of proxies, they can also be created using a configuration file:

0 comments on commit 5bb6b89

Please sign in to comment.
You can’t perform that action at this time.