Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoEdgeLab/EdgeNode
/ ReadBody
Method
ReadBody
internal/caches/reader.go:27–27 ·
view source on GitHub ↗
ReadBody 读取Body
(buf []byte, callback ReaderFunc)
Source
from the content-addressed store, hash-verified
25
26
// ReadBody 读取Body
27
ReadBody(buf []byte, callback ReaderFunc) error
28
29
// Read 实现io.Reader接口
30
Read(buf []byte) (int, error)
Callers
6
hotLoop
Method · 0.65
TestMemoryStorage_OpenWriter
Function · 0.65
TestFileStorage_Read
Function · 0.65
TestFileStorage_Read_HTTP_Response
Function · 0.65
TestFileStorage_Read_NotFound
Function · 0.65
BenchmarkFileStorage_Read
Function · 0.65
Calls
no outgoing calls
Tested by
5
TestMemoryStorage_OpenWriter
Function · 0.52
TestFileStorage_Read
Function · 0.52
TestFileStorage_Read_HTTP_Response
Function · 0.52
TestFileStorage_Read_NotFound
Function · 0.52
BenchmarkFileStorage_Read
Function · 0.52