()
| 22 | ) |
| 23 | |
| 24 | func (l QUICEncryptionLevel) String() string { |
| 25 | switch l { |
| 26 | case QUICEncryptionLevelInitial: |
| 27 | return "Initial" |
| 28 | case QUICEncryptionLevelEarly: |
| 29 | return "Early" |
| 30 | case QUICEncryptionLevelHandshake: |
| 31 | return "Handshake" |
| 32 | case QUICEncryptionLevelApplication: |
| 33 | return "Application" |
| 34 | default: |
| 35 | return fmt.Sprintf("QUICEncryptionLevel(%v)", int(l)) |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | // A QUICConn represents a connection which uses a QUIC implementation as the underlying |
| 40 | // transport as described in RFC 9001. |
nothing calls this directly
no outgoing calls
no test coverage detected