Skip to content
Permalink
Browse files

Merge pull request #251 from nothinux/master

update docs
  • Loading branch information
sirupsen committed Feb 14, 2020
2 parents cfe8289 + b0ba1c8 commit 10f0561d746e6382c16478a1f9ef97b622fa314f
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 10f0561

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