Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/imroc/req
/ IsZero
Method
IsZero
http2/priority.go:20–22 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
18
}
19
20
func
(p PriorityParam) IsZero() bool {
21
return
p == PriorityParam{}
22
}
23
24
// PriorityFrame represents a http priority frame.
25
type
PriorityFrame
struct
{
Callers
12
TestPriorityParamIsZero
Function · 0.95
queueForIdleConn
Method · 0.80
getConn
Method · 0.80
TraceInfo
Method · 0.80
createContext
Method · 0.80
TotalTime
Method · 0.80
connect
Method · 0.80
tooIdleLocked
Method · 0.80
traceGotConn
Function · 0.80
WriteHeaders
Method · 0.80
GetPointer
Function · 0.80
TestPriorityFrame
Function · 0.80
Calls
no outgoing calls
Tested by
2
TestPriorityParamIsZero
Function · 0.76
TestPriorityFrame
Function · 0.64