Skip to content

Commit

Permalink
update examples to use latest kit version
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsannm committed Jul 1, 2024
1 parent edb5fa2 commit 6799c04
Show file tree
Hide file tree
Showing 18 changed files with 201 additions and 101 deletions.
8 changes: 4 additions & 4 deletions contrib/go.sum
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
github.com/andybalholm/brotli v1.1.0 h1:eLKJA0d02Lf0mVpIDgYnqXcUn0GqVmEFny3VuID1U3M=
github.com/andybalholm/brotli v1.1.0/go.mod h1:sms7XGricyQI9K10gOSf56VKKWS4oLer58Q+mhRPtnY=
github.com/clubpay/ronykit/kit v0.16.3 h1:NQx2JDUR2hF1lJ4W1OD7kMlOhohnLMbr5DCMtH4Y+Ho=
github.com/clubpay/ronykit/kit v0.16.3/go.mod h1:JmRsAjBYhNsrU7iaQM9oVw5OSIQpMET+VDKx1suUPbk=
github.com/clubpay/ronykit/std/gateways/fasthttp v0.16.3 h1:K7DPRsvy2dffkgA765WGTZNb/sdrWjPhZ5uLx9zJhaE=
github.com/clubpay/ronykit/std/gateways/fasthttp v0.16.3/go.mod h1:5Y9SWAc4V9PwgDM9vJ25QMnl1arc59lgZwyRBlFNzr4=
github.com/clubpay/ronykit/kit v0.16.4 h1:g8i1Ip/txH8GxQQobZE8qt3Dbu6096XDMYyN72tjYmg=
github.com/clubpay/ronykit/kit v0.16.4/go.mod h1:JmRsAjBYhNsrU7iaQM9oVw5OSIQpMET+VDKx1suUPbk=
github.com/clubpay/ronykit/std/gateways/fasthttp v0.16.4 h1:0tHA6UKOhP51UTg+yisZHx4APHnbVZq7iSfsmOxfHjg=
github.com/clubpay/ronykit/std/gateways/fasthttp v0.16.4/go.mod h1:s8x6+kRrEt85S0xmdcg3Ojk3NOWIaV98QJvqpHDwJzg=
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=
Expand Down
8 changes: 4 additions & 4 deletions example/ex-01-rpc/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ module github.com/clubpay/ronykit/example/ex-01-rpc
go 1.20

require (
github.com/clubpay/ronykit/kit v0.15.0
github.com/clubpay/ronykit/std/gateways/fasthttp v0.15.0
github.com/clubpay/ronykit/std/gateways/fastws v0.15.0
github.com/clubpay/ronykit/stub v0.15.0
github.com/clubpay/ronykit/kit v0.16.4
github.com/clubpay/ronykit/std/gateways/fasthttp v0.16.4
github.com/clubpay/ronykit/std/gateways/fastws v0.16.4
github.com/clubpay/ronykit/stub v0.16.4
)

require (
Expand Down
16 changes: 8 additions & 8 deletions example/ex-01-rpc/go.sum
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
github.com/andybalholm/brotli v1.1.0 h1:eLKJA0d02Lf0mVpIDgYnqXcUn0GqVmEFny3VuID1U3M=
github.com/andybalholm/brotli v1.1.0/go.mod h1:sms7XGricyQI9K10gOSf56VKKWS4oLer58Q+mhRPtnY=
github.com/clubpay/ronykit/kit v0.15.0 h1:ggfqALxd14lUZbr+Vvud00LwJqi4b6H7WLeAVq/UTkA=
github.com/clubpay/ronykit/kit v0.15.0/go.mod h1:z6x5a3OqLbdV70uLQr5b7df5FEJKHqQ7KmW+NofE3vA=
github.com/clubpay/ronykit/std/gateways/fasthttp v0.15.0 h1:9hz3CSvuh51q35EmLJwBGlwUCiJfUv69AqOEIxd0aQM=
github.com/clubpay/ronykit/std/gateways/fasthttp v0.15.0/go.mod h1:gj/rD3iOQM778sqdeX2Nr+CgAPUwsvkP7dcMw6ImtuE=
github.com/clubpay/ronykit/std/gateways/fastws v0.15.0 h1:ZOC46H7F3ZTpNP5E/QBFH8EA+JiPIrLGC3mXaUZ8nqo=
github.com/clubpay/ronykit/std/gateways/fastws v0.15.0/go.mod h1:HsE+l/MsVAIN+qw3MbHIBHAq7kQn19GrOoUh5iJXo/g=
github.com/clubpay/ronykit/stub v0.15.0 h1:gk1OVDVknZJCA+4n7r18KtChWlyD5T3z11gxsa0dt3o=
github.com/clubpay/ronykit/stub v0.15.0/go.mod h1:ufYH6gb2Z3/7UgwAJHZyRYQmKZ6RVICnD3UrUhei+S4=
github.com/clubpay/ronykit/kit v0.16.4 h1:g8i1Ip/txH8GxQQobZE8qt3Dbu6096XDMYyN72tjYmg=
github.com/clubpay/ronykit/kit v0.16.4/go.mod h1:JmRsAjBYhNsrU7iaQM9oVw5OSIQpMET+VDKx1suUPbk=
github.com/clubpay/ronykit/std/gateways/fasthttp v0.16.4 h1:0tHA6UKOhP51UTg+yisZHx4APHnbVZq7iSfsmOxfHjg=
github.com/clubpay/ronykit/std/gateways/fasthttp v0.16.4/go.mod h1:s8x6+kRrEt85S0xmdcg3Ojk3NOWIaV98QJvqpHDwJzg=
github.com/clubpay/ronykit/std/gateways/fastws v0.16.4 h1:gDmzqJNv7BN328ZRxHgGT/3VgLs8hnRdHZzkdZ3n4HI=
github.com/clubpay/ronykit/std/gateways/fastws v0.16.4/go.mod h1:AL/pd9oOueYh3JoKP2NBkk+q1vfiutzcUnhRXEwd85U=
github.com/clubpay/ronykit/stub v0.16.4 h1:j3MmXOW1h05LoJy4Kn+gzhiy3PoghGzv2fpvY473Ng0=
github.com/clubpay/ronykit/stub v0.16.4/go.mod h1:xGmgBdo+vzhuvdZPO7xXv1W1J10Vt2JFwCQHNPezb5o=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/fasthttp/router v1.5.1 h1:uViy8UYYhm5npJSKEZ4b/ozM//NGzVCfJbh6VJ0VKr8=
github.com/fasthttp/router v1.5.1/go.mod h1:WrmsLo3mrerZP2VEXRV1E8nL8ymJFYCDTr4HmnB8+Zs=
Expand Down
6 changes: 3 additions & 3 deletions example/ex-02-rest/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ go 1.20

require (
github.com/bytedance/sonic v1.11.7
github.com/clubpay/ronykit/kit v0.15.0
github.com/clubpay/ronykit/std/gateways/fasthttp v0.15.0
github.com/clubpay/ronykit/stub v0.15.0
github.com/clubpay/ronykit/kit v0.16.4
github.com/clubpay/ronykit/std/gateways/fasthttp v0.16.4
github.com/clubpay/ronykit/stub v0.16.4
)

require (
Expand Down
12 changes: 6 additions & 6 deletions example/ex-02-rest/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ github.com/cloudwego/base64x v0.1.4 h1:jwCgWpFanWmN8xoIUHa2rtzmkd5J2plF/dnLS6Xd/
github.com/cloudwego/base64x v0.1.4/go.mod h1:0zlkT4Wn5C6NdauXdJRhSKRlJvmclQ1hhJgA0rcu/8w=
github.com/cloudwego/iasm v0.2.0 h1:1KNIy1I1H9hNNFEEH3DVnI4UujN+1zjpuk6gwHLTssg=
github.com/cloudwego/iasm v0.2.0/go.mod h1:8rXZaNYT2n95jn+zTI1sDr+IgcD2GVs0nlbbQPiEFhY=
github.com/clubpay/ronykit/kit v0.15.0 h1:ggfqALxd14lUZbr+Vvud00LwJqi4b6H7WLeAVq/UTkA=
github.com/clubpay/ronykit/kit v0.15.0/go.mod h1:z6x5a3OqLbdV70uLQr5b7df5FEJKHqQ7KmW+NofE3vA=
github.com/clubpay/ronykit/std/gateways/fasthttp v0.15.0 h1:9hz3CSvuh51q35EmLJwBGlwUCiJfUv69AqOEIxd0aQM=
github.com/clubpay/ronykit/std/gateways/fasthttp v0.15.0/go.mod h1:gj/rD3iOQM778sqdeX2Nr+CgAPUwsvkP7dcMw6ImtuE=
github.com/clubpay/ronykit/stub v0.15.0 h1:gk1OVDVknZJCA+4n7r18KtChWlyD5T3z11gxsa0dt3o=
github.com/clubpay/ronykit/stub v0.15.0/go.mod h1:ufYH6gb2Z3/7UgwAJHZyRYQmKZ6RVICnD3UrUhei+S4=
github.com/clubpay/ronykit/kit v0.16.4 h1:g8i1Ip/txH8GxQQobZE8qt3Dbu6096XDMYyN72tjYmg=
github.com/clubpay/ronykit/kit v0.16.4/go.mod h1:JmRsAjBYhNsrU7iaQM9oVw5OSIQpMET+VDKx1suUPbk=
github.com/clubpay/ronykit/std/gateways/fasthttp v0.16.4 h1:0tHA6UKOhP51UTg+yisZHx4APHnbVZq7iSfsmOxfHjg=
github.com/clubpay/ronykit/std/gateways/fasthttp v0.16.4/go.mod h1:s8x6+kRrEt85S0xmdcg3Ojk3NOWIaV98QJvqpHDwJzg=
github.com/clubpay/ronykit/stub v0.16.4 h1:j3MmXOW1h05LoJy4Kn+gzhiy3PoghGzv2fpvY473Ng0=
github.com/clubpay/ronykit/stub v0.16.4/go.mod h1:xGmgBdo+vzhuvdZPO7xXv1W1J10Vt2JFwCQHNPezb5o=
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=
Expand Down
10 changes: 4 additions & 6 deletions example/ex-03-cluster/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ go 1.21
toolchain go1.21.7

require (
github.com/clubpay/ronykit/contrib v0.15.0
github.com/clubpay/ronykit/kit v0.15.0
github.com/clubpay/ronykit/std/clusters/rediscluster v0.15.0
github.com/clubpay/ronykit/std/gateways/fasthttp v0.15.0
github.com/clubpay/ronykit/contrib v0.16.4
github.com/clubpay/ronykit/kit v0.16.4
github.com/clubpay/ronykit/std/clusters/rediscluster v0.16.4
github.com/clubpay/ronykit/std/gateways/fasthttp v0.16.4
github.com/orlangure/gnomock v0.30.0
)

Expand Down Expand Up @@ -36,7 +36,6 @@ require (
github.com/mattn/go-runewidth v0.0.15 // indirect
github.com/nxadm/tail v1.4.11 // indirect
github.com/onsi/ginkgo v1.16.5 // indirect
github.com/onsi/ginkgo/v2 v2.19.0 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.0.2 // indirect
github.com/pkg/errors v0.9.1 // indirect
Expand All @@ -56,6 +55,5 @@ require (
golang.org/x/sync v0.7.0 // indirect
golang.org/x/sys v0.21.0 // indirect
golang.org/x/time v0.5.0 // indirect
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
16 changes: 8 additions & 8 deletions example/ex-03-cluster/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ github.com/bsm/gomega v1.27.10 h1:yeMWxP2pV2fG3FgAODIY8EiRE3dy0aeFYt4l7wh6yKA=
github.com/bsm/gomega v1.27.10/go.mod h1:JyEr/xRbxbtgWNi8tIEVPUYZ5Dzef52k01W3YH0H+O0=
github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44=
github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
github.com/clubpay/ronykit/contrib v0.15.0 h1:pKmMAc5fae3BkqKk6noxODwLJ6WT5JLmwkGTaZpdcck=
github.com/clubpay/ronykit/contrib v0.15.0/go.mod h1:6WgqsXklyz9sVGVfZGNJi9ea5j/71iZj22SHebtccjo=
github.com/clubpay/ronykit/kit v0.15.0 h1:ggfqALxd14lUZbr+Vvud00LwJqi4b6H7WLeAVq/UTkA=
github.com/clubpay/ronykit/kit v0.15.0/go.mod h1:z6x5a3OqLbdV70uLQr5b7df5FEJKHqQ7KmW+NofE3vA=
github.com/clubpay/ronykit/std/clusters/rediscluster v0.15.0 h1:7V4cMFXhiUAQVGk/ZiKxxHx0LIi6dZjv8dZiKPb08e4=
github.com/clubpay/ronykit/std/clusters/rediscluster v0.15.0/go.mod h1:iIXJ0UzbPpSE3JSL5Fpg761DAi29FJ+EAPT8RuqbDpQ=
github.com/clubpay/ronykit/std/gateways/fasthttp v0.15.0 h1:9hz3CSvuh51q35EmLJwBGlwUCiJfUv69AqOEIxd0aQM=
github.com/clubpay/ronykit/std/gateways/fasthttp v0.15.0/go.mod h1:gj/rD3iOQM778sqdeX2Nr+CgAPUwsvkP7dcMw6ImtuE=
github.com/clubpay/ronykit/contrib v0.16.4 h1:DGkCszWJgS8XIVuAADoR+8NAk0F+F3+r1VD7xvxho3w=
github.com/clubpay/ronykit/contrib v0.16.4/go.mod h1:R6OM4Gtrapd8ZJZn7+Da94ZKfg5vLO/YCWHQPH56i2c=
github.com/clubpay/ronykit/kit v0.16.4 h1:g8i1Ip/txH8GxQQobZE8qt3Dbu6096XDMYyN72tjYmg=
github.com/clubpay/ronykit/kit v0.16.4/go.mod h1:JmRsAjBYhNsrU7iaQM9oVw5OSIQpMET+VDKx1suUPbk=
github.com/clubpay/ronykit/std/clusters/rediscluster v0.16.4 h1:QQ3ZdOeDZAdSGcPI8eGF5U+nVwCPBpxlYS0lzojkcTY=
github.com/clubpay/ronykit/std/clusters/rediscluster v0.16.4/go.mod h1:2UH6We4fDm2E3Nh47ZkRK+l4Jc+Wxoeh528LJOcHojU=
github.com/clubpay/ronykit/std/gateways/fasthttp v0.16.4 h1:0tHA6UKOhP51UTg+yisZHx4APHnbVZq7iSfsmOxfHjg=
github.com/clubpay/ronykit/std/gateways/fasthttp v0.16.4/go.mod h1:s8x6+kRrEt85S0xmdcg3Ojk3NOWIaV98QJvqpHDwJzg=
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=
Expand Down
6 changes: 3 additions & 3 deletions example/ex-04-stubgen/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ module github.com/clubpay/ronykit/example/ex-04-stubgen
go 1.20

require (
github.com/clubpay/ronykit/kit v0.15.0
github.com/clubpay/ronykit/std/gateways/fasthttp v0.15.0
github.com/clubpay/ronykit/stub v0.15.0
github.com/clubpay/ronykit/kit v0.16.4
github.com/clubpay/ronykit/std/gateways/fasthttp v0.16.4
github.com/clubpay/ronykit/stub v0.16.4
)

require (
Expand Down
12 changes: 6 additions & 6 deletions example/ex-04-stubgen/go.sum
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
github.com/andybalholm/brotli v1.1.0 h1:eLKJA0d02Lf0mVpIDgYnqXcUn0GqVmEFny3VuID1U3M=
github.com/andybalholm/brotli v1.1.0/go.mod h1:sms7XGricyQI9K10gOSf56VKKWS4oLer58Q+mhRPtnY=
github.com/clubpay/ronykit/kit v0.15.0 h1:ggfqALxd14lUZbr+Vvud00LwJqi4b6H7WLeAVq/UTkA=
github.com/clubpay/ronykit/kit v0.15.0/go.mod h1:z6x5a3OqLbdV70uLQr5b7df5FEJKHqQ7KmW+NofE3vA=
github.com/clubpay/ronykit/std/gateways/fasthttp v0.15.0 h1:9hz3CSvuh51q35EmLJwBGlwUCiJfUv69AqOEIxd0aQM=
github.com/clubpay/ronykit/std/gateways/fasthttp v0.15.0/go.mod h1:gj/rD3iOQM778sqdeX2Nr+CgAPUwsvkP7dcMw6ImtuE=
github.com/clubpay/ronykit/stub v0.15.0 h1:gk1OVDVknZJCA+4n7r18KtChWlyD5T3z11gxsa0dt3o=
github.com/clubpay/ronykit/stub v0.15.0/go.mod h1:ufYH6gb2Z3/7UgwAJHZyRYQmKZ6RVICnD3UrUhei+S4=
github.com/clubpay/ronykit/kit v0.16.4 h1:g8i1Ip/txH8GxQQobZE8qt3Dbu6096XDMYyN72tjYmg=
github.com/clubpay/ronykit/kit v0.16.4/go.mod h1:JmRsAjBYhNsrU7iaQM9oVw5OSIQpMET+VDKx1suUPbk=
github.com/clubpay/ronykit/std/gateways/fasthttp v0.16.4 h1:0tHA6UKOhP51UTg+yisZHx4APHnbVZq7iSfsmOxfHjg=
github.com/clubpay/ronykit/std/gateways/fasthttp v0.16.4/go.mod h1:s8x6+kRrEt85S0xmdcg3Ojk3NOWIaV98QJvqpHDwJzg=
github.com/clubpay/ronykit/stub v0.16.4 h1:j3MmXOW1h05LoJy4Kn+gzhiy3PoghGzv2fpvY473Ng0=
github.com/clubpay/ronykit/stub v0.16.4/go.mod h1:xGmgBdo+vzhuvdZPO7xXv1W1J10Vt2JFwCQHNPezb5o=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/fasthttp/router v1.5.1 h1:uViy8UYYhm5npJSKEZ4b/ozM//NGzVCfJbh6VJ0VKr8=
github.com/fasthttp/router v1.5.1/go.mod h1:WrmsLo3mrerZP2VEXRV1E8nL8ymJFYCDTr4HmnB8+Zs=
Expand Down
17 changes: 12 additions & 5 deletions example/ex-05-counter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,34 @@ go 1.22

toolchain go1.22.3

require github.com/clubpay/ronykit/rony v0.15.0
require github.com/clubpay/ronykit/rony v0.16.4

require (
github.com/andybalholm/brotli v1.1.0 // indirect
github.com/clubpay/ronykit/kit v0.15.0 // indirect
github.com/clubpay/ronykit/std/gateways/fasthttp v0.15.0 // indirect
github.com/clubpay/ronykit/contrib v0.16.4 // indirect
github.com/clubpay/ronykit/kit v0.16.4 // indirect
github.com/clubpay/ronykit/std/gateways/fasthttp v0.16.4 // indirect
github.com/clubpay/ronykit/stub v0.16.4 // indirect
github.com/fasthttp/router v1.5.1 // indirect
github.com/fasthttp/websocket v1.5.9 // indirect
github.com/go-openapi/jsonpointer v0.21.0 // indirect
github.com/go-openapi/jsonreference v0.21.0 // indirect
github.com/go-openapi/spec v0.21.0 // indirect
github.com/go-openapi/swag v0.23.0 // indirect
github.com/goccy/go-json v0.10.3 // indirect
github.com/goccy/go-reflect v1.2.0 // indirect
github.com/jedib0t/go-pretty/v6 v6.5.9 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/klauspost/compress v1.17.9 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mattn/go-runewidth v0.0.15 // indirect
github.com/onsi/ginkgo/v2 v2.19.0 // indirect
github.com/rbretecher/go-postman-collection v0.9.0 // indirect
github.com/rivo/uniseg v0.4.3 // indirect
github.com/savsgio/gotils v0.0.0-20240303185622-093b76447511 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/fasthttp v1.55.0 // indirect
github.com/valyala/tcplisten v1.0.0 // indirect
golang.org/x/net v0.26.0 // indirect
golang.org/x/sys v0.21.0 // indirect
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit 6799c04

Please sign in to comment.