mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-07-31 09:30:11 +00:00
TUN-8006: Update quic-go to latest upstream
This commit is contained in:
13
vendor/github.com/quic-go/qtls-go1-20/alert.go
generated
vendored
13
vendor/github.com/quic-go/qtls-go1-20/alert.go
generated
vendored
@@ -6,10 +6,17 @@ package qtls
|
||||
|
||||
import "strconv"
|
||||
|
||||
type alert uint8
|
||||
// An AlertError is a TLS alert.
|
||||
//
|
||||
// When using a QUIC transport, QUICConn methods will return an error
|
||||
// which wraps AlertError rather than sending a TLS alert.
|
||||
type AlertError uint8
|
||||
|
||||
// Alert is a TLS alert
|
||||
type Alert = alert
|
||||
func (e AlertError) Error() string {
|
||||
return alert(e).String()
|
||||
}
|
||||
|
||||
type alert uint8
|
||||
|
||||
const (
|
||||
// alert level
|
||||
|
Reference in New Issue
Block a user