forked from quic-go/quic-go
privatize the frame parsing functions
This commit is contained in:
@@ -16,8 +16,8 @@ type GoawayFrame struct {
|
||||
ReasonPhrase string
|
||||
}
|
||||
|
||||
// ParseGoawayFrame parses a GOAWAY frame
|
||||
func ParseGoawayFrame(r *bytes.Reader, _ protocol.VersionNumber) (*GoawayFrame, error) {
|
||||
// parseGoawayFrame parses a GOAWAY frame
|
||||
func parseGoawayFrame(r *bytes.Reader, _ protocol.VersionNumber) (*GoawayFrame, error) {
|
||||
frame := &GoawayFrame{}
|
||||
|
||||
if _, err := r.ReadByte(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user