Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DoNewsCode/core
/ Header
Method
Header
srvhttp/encode_test.go:19–21 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
17
}
18
19
func
(m *MockWriter) Header() http.Header {
20
return
m.header
21
}
22
23
func
(m *MockWriter) Write(bytes []byte) (int, error) {
24
return
m.buffer.Write(bytes)
Callers
1
encode
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected