move all frames to separate package

This commit is contained in:
Marten Seemann
2016-04-16 18:34:16 +07:00
parent 88f404c19e
commit 79ba43bbdb
12 changed files with 36 additions and 21 deletions

8
frames/frame.go Normal file
View File

@@ -0,0 +1,8 @@
package frames
import "bytes"
// A Frame in QUIC
type Frame interface {
Write(b *bytes.Buffer) error
}