Help developers discover the tools you use. Get visibility for your team's tech choices and contribute to the community's knowledge.
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. | Ginkgo's Preferred Matcher Library. |
Statistics | |
GitHub Stars - | GitHub Stars 2.0K |
GitHub Forks - | GitHub Forks 332 |
Stacks 11 | Stacks 575 |
Followers 0 | 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.

Go supplementary cryptography libraries.

Simple error handling primitives.