MCPcopy Create free account
hub / github.com/DoNewsCode/core / WriteHeader

Method WriteHeader

srvhttp/encode_test.go:27–29  ·  view source on GitHub ↗
(statusCode int)

Source from the content-addressed store, hash-verified

25}
26
27func (m *MockWriter) WriteHeader(statusCode int) {
28 m.code = statusCode
29}
30
31func TestEncoder(t *testing.T) {
32 cases := []struct {

Callers 1

encodeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected