mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-30 22:34:15 -05:00
14 lines
256 B
Go
14 lines
256 B
Go
|
package wire
|
||
|
|
||
|
import (
|
||
|
"bytes"
|
||
|
|
||
|
"github.com/lucas-clemente/quic-go/internal/protocol"
|
||
|
)
|
||
|
|
||
|
// A Frame in QUIC
|
||
|
type Frame interface {
|
||
|
Write(b *bytes.Buffer, version protocol.VersionNumber) error
|
||
|
Length(version protocol.VersionNumber) protocol.ByteCount
|
||
|
}
|