MCPcopy Index your code
hub / github.com/kataras/iris / keyExists

Method keyExists

context/problem.go:27–34  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

25}
26
27func (p Problem) keyExists(key string) bool {
28 if p == nil {
29 return false
30 }
31
32 _, found := p[key]
33 return found
34}
35
36// DefaultProblemStatusCode is being sent to the client
37// when Problem's status is not a valid one.

Callers 2

StatusMethod · 0.95
ValidateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected