MCPcopy
hub / github.com/go-kit/kit / enhancedResponse

Struct enhancedResponse

transport/http/server_test.go:231–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229}
230
231type enhancedResponse struct {
232 Foo string `json:"foo"`
233}
234
235func (e enhancedResponse) StatusCode() int { return http.StatusPaymentRequired }
236func (e enhancedResponse) Headers() http.Header { return http.Header{"X-Edward": []string{"Snowden"}} }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected