Skip to content

Commit

Permalink
Update sdk examples to include Websocket with unsubscribe methods
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksej-paschenko committed Nov 2, 2023
1 parent 1c8ad29 commit 8df5b38
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion examples/golang/sse/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/tonkeeper/opentonapi/examples/golang/sse

go 1.21.3

require github.com/tonkeeper/opentonapi/tonapi v0.0.0-20231101150049-edaac1cf7e68
require github.com/tonkeeper/opentonapi/tonapi v0.0.0-20231101195704-1c8ad29379ba

require (
github.com/dlclark/regexp2 v1.10.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions examples/golang/sse/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/tonkeeper/opentonapi/tonapi v0.0.0-20231101150049-edaac1cf7e68 h1:ozA0nbIH4/hIidUOPMCVCJGcHCXC4Krl/nTnctX7fH0=
github.com/tonkeeper/opentonapi/tonapi v0.0.0-20231101150049-edaac1cf7e68/go.mod h1:cBkWkSjcphjyBwb1Yx8jXS23IPtYkCpsrsNZFXDbXsg=
github.com/tonkeeper/opentonapi/tonapi v0.0.0-20231101195704-1c8ad29379ba h1:q+XlBsbyU94e/ysO0xuPZkyT7VH4ihV+MznDMYcnYCM=
github.com/tonkeeper/opentonapi/tonapi v0.0.0-20231101195704-1c8ad29379ba/go.mod h1:cBkWkSjcphjyBwb1Yx8jXS23IPtYkCpsrsNZFXDbXsg=
github.com/tonkeeper/tongo v1.3.4-0.20231026105625-8a256dbf9884 h1:GwE/wrb415Qy/zo1kYbvKfoMIJDc7K9E+0v8C6RoXao=
github.com/tonkeeper/tongo v1.3.4-0.20231026105625-8a256dbf9884/go.mod h1:LdOBjpUz6vLp1EdX3E0XLNks9YI5XMSqaQahfOMrBEY=
go.opentelemetry.io/otel v1.19.0 h1:MuS/TNf4/j4IXsZuJegVzI1cwut7Qc00344rgH7p8bs=
Expand Down
2 changes: 1 addition & 1 deletion examples/golang/tonapi-sdk/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/tonkeeper/opentonapi/examples/tonapi-sdk

go 1.21.3

require github.com/tonkeeper/opentonapi/tonapi v0.0.0-20231101150049-edaac1cf7e68
require github.com/tonkeeper/opentonapi/tonapi v0.0.0-20231101195704-1c8ad29379ba

require (
github.com/dlclark/regexp2 v1.10.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions examples/golang/tonapi-sdk/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/tonkeeper/opentonapi/tonapi v0.0.0-20231101150049-edaac1cf7e68 h1:ozA0nbIH4/hIidUOPMCVCJGcHCXC4Krl/nTnctX7fH0=
github.com/tonkeeper/opentonapi/tonapi v0.0.0-20231101150049-edaac1cf7e68/go.mod h1:cBkWkSjcphjyBwb1Yx8jXS23IPtYkCpsrsNZFXDbXsg=
github.com/tonkeeper/opentonapi/tonapi v0.0.0-20231101195704-1c8ad29379ba h1:q+XlBsbyU94e/ysO0xuPZkyT7VH4ihV+MznDMYcnYCM=
github.com/tonkeeper/opentonapi/tonapi v0.0.0-20231101195704-1c8ad29379ba/go.mod h1:cBkWkSjcphjyBwb1Yx8jXS23IPtYkCpsrsNZFXDbXsg=
github.com/tonkeeper/tongo v1.3.3 h1:VfpSkMATz6E9PGWzgURHPKoG9uGkooD3bjODj+9Hbm8=
github.com/tonkeeper/tongo v1.3.3/go.mod h1:LdOBjpUz6vLp1EdX3E0XLNks9YI5XMSqaQahfOMrBEY=
go.opentelemetry.io/otel v1.19.0 h1:MuS/TNf4/j4IXsZuJegVzI1cwut7Qc00344rgH7p8bs=
Expand Down
2 changes: 1 addition & 1 deletion examples/golang/websocket/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/tonkeeper/opentonapi/examples/golang/websocket

go 1.21.3

require github.com/tonkeeper/opentonapi/tonapi v0.0.0-20231101150049-edaac1cf7e68
require github.com/tonkeeper/opentonapi/tonapi v0.0.0-20231101195704-1c8ad29379ba

require (
github.com/dlclark/regexp2 v1.10.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions examples/golang/websocket/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/tonkeeper/opentonapi/tonapi v0.0.0-20231101150049-edaac1cf7e68 h1:ozA0nbIH4/hIidUOPMCVCJGcHCXC4Krl/nTnctX7fH0=
github.com/tonkeeper/opentonapi/tonapi v0.0.0-20231101150049-edaac1cf7e68/go.mod h1:cBkWkSjcphjyBwb1Yx8jXS23IPtYkCpsrsNZFXDbXsg=
github.com/tonkeeper/opentonapi/tonapi v0.0.0-20231101195704-1c8ad29379ba h1:q+XlBsbyU94e/ysO0xuPZkyT7VH4ihV+MznDMYcnYCM=
github.com/tonkeeper/opentonapi/tonapi v0.0.0-20231101195704-1c8ad29379ba/go.mod h1:cBkWkSjcphjyBwb1Yx8jXS23IPtYkCpsrsNZFXDbXsg=
github.com/tonkeeper/tongo v1.3.3 h1:VfpSkMATz6E9PGWzgURHPKoG9uGkooD3bjODj+9Hbm8=
github.com/tonkeeper/tongo v1.3.3/go.mod h1:LdOBjpUz6vLp1EdX3E0XLNks9YI5XMSqaQahfOMrBEY=
go.opentelemetry.io/otel v1.19.0 h1:MuS/TNf4/j4IXsZuJegVzI1cwut7Qc00344rgH7p8bs=
Expand Down

0 comments on commit 8df5b38

Please sign in to comment.