Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/GoEdgeLab/EdgeNode
/ ReadHeader
Method
ReadHeader
internal/caches/reader.go:24–24 ·
view source on GitHub ↗
ReadHeader 读取Header
(buf []byte, callback ReaderFunc)
Source
from the content-addressed store, hash-verified
22
23
// ReadHeader 读取Header
24
ReadHeader(buf []byte, callback ReaderFunc) error
25
26
// ReadBody 读取Body
27
ReadBody(buf []byte, callback ReaderFunc) error
Callers
6
doCacheRead
Method · 0.95
hotLoop
Method · 0.65
TestMemoryStorage_OpenWriter
Function · 0.65
TestFileReader_ReadHeader
Function · 0.65
TestFileStorage_Read
Function · 0.65
TestFileStorage_Read_HTTP_Response
Function · 0.65
Calls
no outgoing calls
Tested by
4
TestMemoryStorage_OpenWriter
Function · 0.52
TestFileReader_ReadHeader
Function · 0.52
TestFileStorage_Read
Function · 0.52
TestFileStorage_Read_HTTP_Response
Function · 0.52