Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/go-kit/kit
/ StatusCode
Method
StatusCode
transport/http/server.go:217–217 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
215
// StatusInternalServerError (500) is used.
216
type
StatusCoder
interface
{
217
StatusCode() int
218
}
219
220
// Headerer is checked by DefaultErrorEncoder. If an error value implements
Callers
3
EncodeJSONResponse
Function · 0.65
DefaultErrorEncoder
Function · 0.65
EncodeProtoResponse
Function · 0.65
Implementers
5
AuthError
auth/basic/middleware.go
enhancedResponse
transport/http/server_test.go
noContentResponse
transport/http/server_test.go
enhancedError
transport/http/server_test.go
Cat
transport/http/proto/proto_pb_test.go
Calls
no outgoing calls
Tested by
no test coverage detected