Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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.
15
type
StatusCoder
interface
{
16
StatusCode() int
17
}
18
19
// Headerer allows you to customise the HTTP headers.
Callers
10
StatusCode
Method · 0.95
RequestHandler
Method · 0.65
TestError_StatusCode
Function · 0.65
H
Function · 0.65
getStatusCode
Function · 0.65
TestGroup_Use
Function · 0.65
TestHandlerResponse
Function · 0.65
TestDecode
Function · 0.65
TestEncode
Function · 0.65
TestRouter
Function · 0.65
Implementers
2
HTTPError
errors.go
GreetResponse
examples/simple/main.go
Calls
no outgoing calls
Tested by
6
TestError_StatusCode
Function · 0.52
TestGroup_Use
Function · 0.52
TestHandlerResponse
Function · 0.52
TestDecode
Function · 0.52
TestEncode
Function · 0.52
TestRouter
Function · 0.52