MCPcopy Create free account
hub / github.com/abemedia/go-don / StatusCode

Method StatusCode

handler.go:16–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14// StatusCoder allows you to customise the HTTP response code.
15type StatusCoder interface {
16 StatusCode() int
17}
18
19// Headerer allows you to customise the HTTP headers.

Callers 10

StatusCodeMethod · 0.95
RequestHandlerMethod · 0.65
TestError_StatusCodeFunction · 0.65
HFunction · 0.65
getStatusCodeFunction · 0.65
TestGroup_UseFunction · 0.65
TestHandlerResponseFunction · 0.65
TestDecodeFunction · 0.65
TestEncodeFunction · 0.65
TestRouterFunction · 0.65

Implementers 2

HTTPErrorerrors.go
GreetResponseexamples/simple/main.go

Calls

no outgoing calls

Tested by 6

TestError_StatusCodeFunction · 0.52
TestGroup_UseFunction · 0.52
TestHandlerResponseFunction · 0.52
TestDecodeFunction · 0.52
TestEncodeFunction · 0.52
TestRouterFunction · 0.52