Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testutils: expose aliases for all frames #4293

Merged
merged 1 commit into from
Jan 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
testutils: expose aliases for all frames
  • Loading branch information
marten-seemann committed Jan 31, 2024
commit 3f97aca496acc9d3ef2a60099f4c67f6f39da734
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
)
Loading