diff --git a/go.mod b/go.mod index c904589..d2ffdec 100644 --- a/go.mod +++ b/go.mod @@ -6,18 +6,13 @@ replace github.com/lithdew/kademlia => ../kademlia require ( github.com/BurntSushi/toml v0.3.1 - github.com/davecgh/go-spew v1.1.1 github.com/jpillora/backoff v1.0.0 github.com/json-iterator/go v1.1.10 github.com/julienschmidt/httprouter v1.3.0 github.com/lithdew/bytesutil v0.0.0-20200409052507-d98389230a59 github.com/lithdew/kademlia v0.0.0-20200607181215-ff07ba2ac940 github.com/lithdew/monte v0.0.0-20200611093340-15ff088304c9 - github.com/oasislabs/ed25519 v0.0.0-20200302143042-29f6767a7c3e - github.com/stretchr/testify v1.6.0 - github.com/valyala/bytebufferpool v1.0.0 - go.uber.org/goleak v1.0.0 - golang.org/x/crypto v0.0.0-20191119213627-4f8c1d86b1ba + github.com/stretchr/testify v1.6.0 // indirect golang.org/x/sys v0.0.0-20200602225109-6fdc65e7d980 // indirect golang.org/x/tools v0.0.0-20200522201501-cb1345f3a375 // indirect ) diff --git a/go.sum b/go.sum index 55f8656..8722a83 100644 --- a/go.sum +++ b/go.sum @@ -18,10 +18,6 @@ github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/lithdew/bytesutil v0.0.0-20200409052507-d98389230a59 h1:CQpoOQecHxhvgOU/ijue/yWuShZYDtNpI9bsD4Dkzrk= github.com/lithdew/bytesutil v0.0.0-20200409052507-d98389230a59/go.mod h1:89JlULMIJ/+YWzAp5aHXgAD2d02S2mY+a+PMgXDtoNs= -github.com/lithdew/monte v0.0.0-20200611022530-909501eb337f h1:YPz9qZqsCUN1Isg3g2kcUlPoXpPSGH14Rzw4fD0BySM= -github.com/lithdew/monte v0.0.0-20200611022530-909501eb337f/go.mod h1:qisbxmkjwkE+XOLjCiJe+z1U4f95XxF5Hfrk21Rb1yc= -github.com/lithdew/monte v0.0.0-20200611024153-24be2899951e h1:dbGHVpvd/U8mBgkoj0eiFJ/us2k5OKqE7hQgdR4Zh4s= -github.com/lithdew/monte v0.0.0-20200611024153-24be2899951e/go.mod h1:qisbxmkjwkE+XOLjCiJe+z1U4f95XxF5Hfrk21Rb1yc= github.com/lithdew/monte v0.0.0-20200611093340-15ff088304c9 h1:XmfrU1ZyBDuiZ2/UUhG6P2WvO4DOZxLlhQyd0F71UTw= github.com/lithdew/monte v0.0.0-20200611093340-15ff088304c9/go.mod h1:qisbxmkjwkE+XOLjCiJe+z1U4f95XxF5Hfrk21Rb1yc= github.com/lithdew/reliable v0.0.0-20200506103725-7df64908b057 h1:CBhKVPym/7ZzY7ascOG93XSTlJuqrmIU/Hd0UDHC1TA= diff --git a/ts/main.js b/ts/main.js index 371f5d8..2aecd43 100644 --- a/ts/main.js +++ b/ts/main.js @@ -354,7 +354,7 @@ class Client { const packet = RequestPacket.decode(frame); const body = JSON.parse(packet.data.toString("utf8")); - console.log(body); + // console.log(body); this.reply(seq, packet.data); } else {