Help developers discover the tools you use. Get visibility for your team's tech choices and contribute to the community's knowledge.
Go support for Google's protocol buffers. | SpdyStream A multiplexed stream library using spdy Usage Client example (connecting to mirroring server without auth) ```go package main import ( "fmt" "github.com/docker/spdystream" "net" "net/http" ) func main() { conn, err := net.Dial("tcp", "localhost:8080") if err != nil { panic(err) } spdyConn, err := spdystream.NewConnection(conn, false) if err != nil { panic(err) } go spdyConn.Serve(spdystream.NoOpStreamHandler) stream, err := spdyConn.CreateStream(http.Header{}, nil, false) if err != nil { panic(err) } } ``` Server example (mirroring server without auth) ```go package main import ( "github.com/docker/spdystream" "net" ) func main() { listener, err := net.Listen("tcp", "localhost:8080") if err != nil { panic(err) } for { conn, err := listener.Accept() if err != nil { panic(err) } spdyConn, err := spdystream.NewConnection(conn, true) if err != nil { panic(err) } go spdyConn.Serve(spdystream.MirrorStreamHandler) } } ``` Copyright and license Copyright © 2014-2015 Docker, Inc. |
Statistics | |
GitHub Stars 9.3K | GitHub Stars - |
GitHub Forks 1.6K | GitHub Forks - |
Stacks 459 | Stacks 11 |
Followers 1 | Followers 0 |
Votes 0 | Votes 0 |

Google Cloud Client Libraries for Go.

Go support for Google's protocol buffers.

Cloudflare This package provides the package which offers an interface to the CloudFlare gAPI.

Go supplementary network libraries.

Go packages for low-level interaction with the operating system.

Cross-platform file system notifications for Go.

AWS SDK for the Go programming language.

Go text processing support.

Ginkgo's Preferred Matcher Library.

Go supplementary cryptography libraries.