We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 971360d commit 34a876eCopy full SHA for 34a876e
quic/conversion.go
@@ -7,17 +7,6 @@ import (
7
"github.com/quic-go/quic-go/logging"
8
)
9
10
-func perspectiveString(p logging.Perspective) string {
11
- switch p {
12
- case logging.PerspectiveClient:
13
- return "client"
14
- case logging.PerspectiveServer:
15
- return "server"
16
- default:
17
- return ""
18
- }
19
-}
20
-
21
// Helper to convert logging.ByteCount(alias for int64) to float64 used in prometheus
22
func byteCountToPromCount(count logging.ByteCount) float64 {
23
return float64(count)
0 commit comments