Skip to content

Commit

Permalink
yamux: updates yamux dependency to github.com/andydunstall/yamux
Browse files Browse the repository at this point in the history
This is a temporary fork to tag the latest version, rather than depend
on an arbitrary commit.
  • Loading branch information
andydunstall committed Jul 4, 2024
1 parent 4411c61 commit f2535ae
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion client/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"net"
"strings"

"github.com/hashicorp/yamux"
"github.com/andydunstall/yamux"
"go.uber.org/zap"
)

Expand Down
2 changes: 1 addition & 1 deletion client/upstream.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"net/url"
"time"

"github.com/hashicorp/yamux"
"github.com/andydunstall/yamux"
"go.uber.org/zap"

"github.com/andydunstall/piko/pkg/backoff"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ module github.com/andydunstall/piko
go 1.22

require (
github.com/andydunstall/yamux v0.1.3
github.com/gin-gonic/gin v1.10.0
github.com/goccy/go-yaml v1.11.3
github.com/golang-jwt/jwt/v5 v5.2.1
github.com/google/uuid v1.6.0
github.com/gorilla/websocket v1.5.3
github.com/hashicorp/go-sockaddr v1.0.6
github.com/hashicorp/yamux v0.1.2-0.20240510232814-6034404dc2ab
github.com/oklog/run v1.1.0
github.com/prometheus/client_golang v1.19.1
github.com/spf13/cobra v1.8.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
github.com/andydunstall/yamux v0.1.3 h1:lTNkGpbbVuAttKhnn5W290a1yMWVav3GnijrcHhjuKU=
github.com/andydunstall/yamux v0.1.3/go.mod h1:v4C9l2I4bhYdww+IVgjO0o5rVzxXbx2nneuFDHvyM28=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
github.com/bytedance/sonic v1.11.6 h1:oUp34TzMlL+OY1OUWxHqsdkgC/Zfc85zGqw9siXjrc0=
Expand Down Expand Up @@ -45,8 +47,6 @@ github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aN
github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
github.com/hashicorp/go-sockaddr v1.0.6 h1:RSG8rKU28VTUTvEKghe5gIhIQpv8evvNpnDEyqO4u9I=
github.com/hashicorp/go-sockaddr v1.0.6/go.mod h1:uoUUmtwU7n9Dv3O4SNLeFvg0SxQ3lyjsj6+CCykpaxI=
github.com/hashicorp/yamux v0.1.2-0.20240510232814-6034404dc2ab h1:PaRHipkPJFApx8wpGeKFoAr4NxXKvXRx0YAVIKot5aI=
github.com/hashicorp/yamux v0.1.2-0.20240510232814-6034404dc2ab/go.mod h1:CtWFDAQgb7dxtzFs4tWbplKIe2jSi3+5vKbgIO0SLnQ=
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
Expand Down
2 changes: 1 addition & 1 deletion server/upstream/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"net"
"net/http"

"github.com/andydunstall/yamux"
"github.com/gin-gonic/gin"
"github.com/gorilla/websocket"
"github.com/hashicorp/yamux"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"

Expand Down
2 changes: 1 addition & 1 deletion server/upstream/upstream.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package upstream
import (
"net"

"github.com/hashicorp/yamux"
"github.com/andydunstall/yamux"

"github.com/andydunstall/piko/server/cluster"
)
Expand Down

0 comments on commit f2535ae

Please sign in to comment.