forked from quic-go/quic-go
protocol: don't capitalize Perspective.String (#4296)
This commit is contained in:
@@ -17,9 +17,9 @@ func (p Perspective) Opposite() Perspective {
|
||||
func (p Perspective) String() string {
|
||||
switch p {
|
||||
case PerspectiveServer:
|
||||
return "Server"
|
||||
return "server"
|
||||
case PerspectiveClient:
|
||||
return "Client"
|
||||
return "client"
|
||||
default:
|
||||
return "invalid perspective"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user