diff --git a/config.go b/config.go index ad0395f..f9ea2d3 100644 --- a/config.go +++ b/config.go @@ -1,7 +1,7 @@ package tunnel import ( - "github.com/imdario/mergo" + "dario.cat/mergo" "github.com/nknorg/nkn-sdk-go" ts "github.com/nknorg/nkn-tuna-session" "github.com/nknorg/nkngomobile" diff --git a/go.mod b/go.mod index dafa541..3fdd64e 100644 --- a/go.mod +++ b/go.mod @@ -3,11 +3,11 @@ module github.com/nknorg/nkn-tunnel go 1.20 require ( + dario.cat/mergo v1.0.1 github.com/hashicorp/go-multierror v1.1.1 - github.com/imdario/mergo v0.3.16 github.com/nknorg/ncp-go v1.0.6 github.com/nknorg/nkn-sdk-go v1.4.8 - github.com/nknorg/nkn-tuna-session v0.2.6 + github.com/nknorg/nkn-tuna-session v0.2.7-0.20241121010333-4aa759c293c3 github.com/nknorg/nkn/v2 v2.2.1 github.com/nknorg/nkngomobile v0.0.0-20220615081414-671ad1afdfa9 github.com/nknorg/tuna v0.1.0 @@ -19,6 +19,7 @@ require ( github.com/google/uuid v1.6.0 // indirect github.com/gorilla/websocket v1.5.3 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect + github.com/imdario/mergo v0.3.16 // indirect github.com/itchyny/base58-go v0.2.2 // indirect github.com/jpillora/backoff v1.0.0 // indirect github.com/nknorg/encrypted-stream v1.0.2-0.20230320101720-9891f770de86 // indirect @@ -35,7 +36,7 @@ require ( github.com/pion/randutil v0.1.0 // indirect github.com/pion/rtcp v1.2.14 // indirect github.com/pion/rtp v1.8.9 // indirect - github.com/pion/sctp v1.8.33 // indirect + github.com/pion/sctp v1.8.34 // indirect github.com/pion/sdp/v3 v3.0.9 // indirect github.com/pion/srtp/v3 v3.0.4 // indirect github.com/pion/stun/v3 v3.0.0 // indirect diff --git a/go.sum b/go.sum index 22c845d..ee63461 100644 --- a/go.sum +++ b/go.sum @@ -1,3 +1,5 @@ +dario.cat/mergo v1.0.1 h1:Ra4+bf83h2ztPIQYNP99R6m+Y7KfnARDfID+a+vLl4s= +dario.cat/mergo v1.0.1/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -38,8 +40,8 @@ github.com/nknorg/ncp-go v1.0.6 h1:npfVrQagYg1Rr0Wq/O3wLI23L1NWS5mzyiUCxoqHLqY= github.com/nknorg/ncp-go v1.0.6/go.mod h1:T7ThlxmBjVIv3Ll3gJOHbQTuAFN3ZCYWvbux6JOX5wQ= github.com/nknorg/nkn-sdk-go v1.4.8 h1:FDrciYYJNQ4gKkAVw/N6cL4JcLVYDzi1UofjXFJL3fw= github.com/nknorg/nkn-sdk-go v1.4.8/go.mod h1:0R0uX32pMM/iqvKOdRDXzEGLOpBj1oNZDzuM8/YpGIM= -github.com/nknorg/nkn-tuna-session v0.2.6 h1:NsZIUHQdUU6fFIWBjl2i78mdZsaOjeeJ/G/EmxSEkSw= -github.com/nknorg/nkn-tuna-session v0.2.6/go.mod h1:sg7R0EDolPYfmP8gc5prat/hBw6dTaFOA8kqS6VSswo= +github.com/nknorg/nkn-tuna-session v0.2.7-0.20241121010333-4aa759c293c3 h1:DuTACZxtG4FkT+MaxCWx39QVdLAZa//lKhycjetbgCI= +github.com/nknorg/nkn-tuna-session v0.2.7-0.20241121010333-4aa759c293c3/go.mod h1:sg7R0EDolPYfmP8gc5prat/hBw6dTaFOA8kqS6VSswo= github.com/nknorg/nkn/v2 v2.2.1 h1:PHV+3CKGofdgr8F8cNlOJvDe8XkAD8Pfj8iwsvW2+c0= github.com/nknorg/nkn/v2 v2.2.1/go.mod h1:S0TtUvuE+hnihwOInhxNkS/c8ybTZUttsF4Vi9RYBwI= github.com/nknorg/nkngomobile v0.0.0-20220615081414-671ad1afdfa9 h1:Gr37j7Ttvcn8g7TdC5fs6Y6IJKdmfqCvj03UbsrS77o= @@ -74,8 +76,8 @@ github.com/pion/rtcp v1.2.14 h1:KCkGV3vJ+4DAJmvP0vaQShsb0xkRfWkO540Gy102KyE= github.com/pion/rtcp v1.2.14/go.mod h1:sn6qjxvnwyAkkPzPULIbVqSKI5Dv54Rv7VG0kNxh9L4= github.com/pion/rtp v1.8.9 h1:E2HX740TZKaqdcPmf4pw6ZZuG8u5RlMMt+l3dxeu6Wk= github.com/pion/rtp v1.8.9/go.mod h1:pBGHaFt/yW7bf1jjWAoUjpSNoDnw98KTMg+jWWvziqU= -github.com/pion/sctp v1.8.33 h1:dSE4wX6uTJBcNm8+YlMg7lw1wqyKHggsP5uKbdj+NZw= -github.com/pion/sctp v1.8.33/go.mod h1:beTnqSzewI53KWoG3nqB282oDMGrhNxBdb+JZnkCwRM= +github.com/pion/sctp v1.8.34 h1:rCuD3m53i0oGxCSp7FLQKvqVx0Nf5AUAHhMRXTTQjBc= +github.com/pion/sctp v1.8.34/go.mod h1:yWkCClkXlzVW7BXfI2PjrUGBwUI0CjXJBkhLt+sdo4U= github.com/pion/sdp/v3 v3.0.9 h1:pX++dCHoHUwq43kuwf3PyJfHlwIj4hXA7Vrifiq0IJY= github.com/pion/sdp/v3 v3.0.9/go.mod h1:B5xmvENq5IXJimIO4zfp6LAe1fD9N+kFv+V/1lOdz8M= github.com/pion/srtp/v3 v3.0.4 h1:2Z6vDVxzrX3UHEgrUyIGM4rRouoC7v+NiF1IHtp9B5M=