aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/http2_interop/frame.go
diff options
context:
space:
mode:
authorGravatar Carl Mastrangelo <notcarl@google.com>2015-10-05 16:17:47 -0700
committerGravatar Carl Mastrangelo <notcarl@google.com>2015-10-05 16:17:47 -0700
commit4aca796ca291e7b0ef4fe2f4aa1c722fad642871 (patch)
tree2aa42b9c2523fd4362b2194cb24ae97a94c0996c /tools/http2_interop/frame.go
parentd48c5a5b9feb9cfacde4741e92d6dfcdae632416 (diff)
Add initial interop tests
Diffstat (limited to 'tools/http2_interop/frame.go')
-rw-r--r--tools/http2_interop/frame.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/http2_interop/frame.go b/tools/http2_interop/frame.go
new file mode 100644
index 0000000000..12689e9b33
--- /dev/null
+++ b/tools/http2_interop/frame.go
@@ -0,0 +1,11 @@
+package http2interop
+
+import (
+ "io"
+)
+
+type Frame interface {
+ GetHeader() *FrameHeader
+ ParsePayload(io.Reader) error
+ MarshalBinary() ([]byte, error)
+}