-  
- Downloads
ok
Showing         
- contrib/codecs/http/codec_sse.go 129 additions, 0 deletionscontrib/codecs/http/codec_sse.go
- contrib/codecs/http/codecs.go 4 additions, 1 deletioncontrib/codecs/http/codecs.go
- example/subscription/main.go 12 additions, 19 deletionsexample/subscription/main.go
- go.mod 5 additions, 5 deletionsgo.mod
- go.sum 52 additions, 18 deletionsgo.sum
- pkg/server/server.go 9 additions, 1 deletionpkg/server/server.go
contrib/codecs/http/codec_sse.go
0 → 100644
| ... | @@ -4,10 +4,12 @@ go 1.21 | ... | @@ -4,10 +4,12 @@ go 1.21 | 
| require ( | require ( | ||
| gfx.cafe/open/websocket v1.9.2 | gfx.cafe/open/websocket v1.9.2 | ||
| github.com/gfx-labs/sse v0.0.0-20231226060816-f747e26a9baa | |||
| github.com/go-faster/jx v1.1.0 | github.com/go-faster/jx v1.1.0 | ||
| github.com/json-iterator/go v1.1.12 | github.com/json-iterator/go v1.1.12 | ||
| github.com/mailgun/multibuf v0.2.0 | |||
| github.com/stretchr/testify v1.8.4 | github.com/stretchr/testify v1.8.4 | ||
| golang.org/x/net v0.18.0 | golang.org/x/net v0.19.0 | ||
| golang.org/x/sync v0.5.0 | golang.org/x/sync v0.5.0 | ||
| ) | ) | ||
| ... | @@ -15,15 +17,13 @@ require ( | ... | @@ -15,15 +17,13 @@ require ( | 
| github.com/davecgh/go-spew v1.1.1 // indirect | github.com/davecgh/go-spew v1.1.1 // indirect | ||
| github.com/go-faster/errors v0.7.0 // indirect | github.com/go-faster/errors v0.7.0 // indirect | ||
| github.com/klauspost/compress v1.17.3 // indirect | github.com/klauspost/compress v1.17.3 // indirect | ||
| github.com/kr/pretty v0.3.1 // indirect | |||
| github.com/mailgun/multibuf v0.2.0 // indirect | |||
| github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect | github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect | ||
| github.com/modern-go/reflect2 v1.0.2 // indirect | github.com/modern-go/reflect2 v1.0.2 // indirect | ||
| github.com/pmezard/go-difflib v1.0.0 // indirect | github.com/pmezard/go-difflib v1.0.0 // indirect | ||
| github.com/segmentio/asm v1.2.0 // indirect | github.com/segmentio/asm v1.2.0 // indirect | ||
| golang.org/x/exp v0.0.0-20230206171751-46f607a40771 // indirect | golang.org/x/exp v0.0.0-20230206171751-46f607a40771 // indirect | ||
| golang.org/x/sys v0.14.0 // indirect | golang.org/x/sys v0.15.0 // indirect | ||
| golang.org/x/text v0.14.0 // indirect | golang.org/x/text v0.14.0 // indirect | ||
| gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | gopkg.in/cenkalti/backoff.v1 v1.1.0 // indirect | ||
| gopkg.in/yaml.v3 v3.0.1 // indirect | gopkg.in/yaml.v3 v3.0.1 // indirect | ||
| ) | ) | 
Please register or sign in to comment