1
0
Fork 0
mirror of https://github.com/SamTherapy/dnscrypt.git synced 2024-07-02 21:56:06 +00:00

fix mistake in the doc

This commit is contained in:
Andrey Meshkov 2018-12-17 12:04:31 +03:00
parent 875723a3f9
commit 1215bb8b15
2 changed files with 2 additions and 2 deletions

View file

@ -31,5 +31,5 @@ Unfortunately, I have not found an easy way to use [dnscrypt-proxy](https://gith
}
// Get the DNS response
reply, rtt, err := client.Exchange(&req, serverInfo)
reply, rtt, err := c.Exchange(&req, serverInfo)
```

2
doc.go
View file

@ -23,7 +23,7 @@ Here is a simple usage example:
}
// Get the DNS response
reply, rtt, err := client.Exchange(&req, serverInfo)
reply, rtt, err := c.Exchange(&req, serverInfo)
Unfortunately, I have not found an easy way to use dnscrypt-proxy as a dependency so here's why this library was created.
*/