Skip to content

Commit

Permalink
testutils: expose aliases for all frame types (#4293)
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed Jan 31, 2024
1 parent 86441f1 commit 72c79db
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions testutils/frames.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package testutils

import "github.com/quic-go/quic-go/internal/wire"

type (
Frame = wire.Frame
AckFrame = wire.AckFrame
ConnectionCloseFrame = wire.ConnectionCloseFrame
CryptoFrame = wire.CryptoFrame
DataBlockedFrame = wire.DataBlockedFrame
HandshakeDoneFrame = wire.HandshakeDoneFrame
MaxDataFrame = wire.MaxDataFrame
MaxStreamDataFrame = wire.MaxStreamDataFrame
MaxStreamsFrame = wire.MaxStreamsFrame
NewConnectionIDFrame = wire.NewConnectionIDFrame
NewTokenFrame = wire.NewTokenFrame
PathChallengeFrame = wire.PathChallengeFrame
PathResponseFrame = wire.PathResponseFrame
PingFrame = wire.PingFrame
ResetStreamFrame = wire.ResetStreamFrame
RetireConnectionIDFrame = wire.RetireConnectionIDFrame
StopSendingFrame = wire.StopSendingFrame
StreamDataBlockedFrame = wire.StreamDataBlockedFrame
StreamFrame = wire.StreamFrame
StreamsBlockedFrame = wire.StreamsBlockedFrame
)

0 comments on commit 72c79db

Please sign in to comment.