mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-18 08:26:45 +02:00
14 lines
261 B
Go
14 lines
261 B
Go
package frames
|
|
|
|
import (
|
|
"bytes"
|
|
|
|
"github.com/lucas-clemente/quic-go/protocol"
|
|
)
|
|
|
|
// A Frame in QUIC
|
|
type Frame interface {
|
|
Write(b *bytes.Buffer, version protocol.VersionNumber) error
|
|
MinLength(version protocol.VersionNumber) (protocol.ByteCount, error)
|
|
}
|