commit | 0d515a535ec222dced3359cb3625772c4392e794 | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Sat May 18 08:12:31 2024 -0700 |
committer | Damien Neil <dneil@google.com> | Tue May 28 22:41:32 2024 +0000 |
tree | 13d13a36affa607c14690220bdf85e76ffa3c66b | |
parent | 9f5b79b0000bda2a9ca3263f9d08fdc5f09b28ab [diff] |
http2: factor out frame read/write test functions Client and server tests both write frames to a test connection and read frames back. Frame reads are usually paired with test expectations. Unify the API used for frame reads/writes in tests. Introduce a testConnFramer type that implements a common set of read/write methods, and embed it in both client and server test types. Change-Id: I6927c43459ba24f150a21c058a92797754f82bf1 Reviewed-on: https://go-review.googlesource.com/c/net/+/586249 Reviewed-by: Jonathan Amsterdam <jba@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This repository holds supplementary Go networking libraries.
The easiest way to install is to run go get -u golang.org/x/net
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/net
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. The main issue tracker for the net repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.