ameshkov/dnscrypt

You should update your document.

iamsurfing opened this issue · 5 comments

resolverInfo, err := client.Dial(stampStr
reply, err := c.Exchange(&req, resolverInfo))

Now it is 3 args.

func (c *Client) Exchange(m *dns.Msg, s *ServerInfo) (*dns.Msg, time.Duration, error)
func (c *Client) Dial(stampStr string) (*ServerInfo, time.Duration, error)

github.com/ameshkov/dnscrypt@v1.1.0

I do not know why, but IDE ask me.

You're using the old version, use github.com/ameshkov/dnscrypt/v2

Thanks, but I think you can write it to sample code. #9

Makes sense, thank you!