()
| 57 | } |
| 58 | |
| 59 | func (t FrameType) String() string { |
| 60 | if s, ok := frameName[t]; ok { |
| 61 | return s |
| 62 | } |
| 63 | return fmt.Sprintf("UNKNOWN_FRAME_TYPE_%d", uint8(t)) |
| 64 | } |
| 65 | |
| 66 | // Flags is a bitmask of HTTP/2 flags. |
| 67 | // The meaning of flags varies depending on the frame type. |
no outgoing calls
no test coverage detected