Files
tladesignz_dnstt/go.mod
T
David Fifield e4dc2883ef Use errors.Is to compare against ErrClosedPipe.
I was still getting "io: read/write on closed pipe" errors in the logs,
even after comparing errors against io.ErrClosedPipe to skip logging
them. It turns out that kcp-go wraps many of its errors in another type.
The actual type of the errors was *errors.withStack, where errors is
https://github.com/pkg/errors. We can use the go1.13 errors interface
(https://blog.golang.org/go1.13-errors) to get at the value inside.
2021-08-03 21:00:45 -06:00

11 lines
216 B
AMPL

module www.bamsoftware.com/git/dnstt.git
go 1.13
require (
github.com/flynn/noise v1.0.0
github.com/xtaci/kcp-go/v5 v5.6.1
github.com/xtaci/smux v1.5.15
golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2
)