Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/garethgeorge/backrest
/ String
Method
String
internal/auth/middleware.go:12–14 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
10
type
contextKey string
11
12
func
(k contextKey) String() string {
13
return
"auth context value "
+ string(k)
14
}
15
16
const
UserContextKey contextKey =
"user"
17
const
APIKeyContextKey contextKey =
"api_key"
Callers
15
ResolveSchedule
Function · 0.45
ValidateSchedule
Function · 0.45
TestStartConditionsMap
Function · 0.45
TestErrorConditionsMap
Function · 0.45
TestSuccessConditionsMap
Function · 0.45
AllocOpenBindAddr
Function · 0.45
newOneoffRunHookTask
Function · 0.45
Execute
Method · 0.45
Execute
Method · 0.45
Execute
Method · 0.45
Execute
Method · 0.45
RenderTemplate
Function · 0.45
Calls
no outgoing calls
Tested by
4
TestStartConditionsMap
Function · 0.36
TestErrorConditionsMap
Function · 0.36
TestSuccessConditionsMap
Function · 0.36
TestCheck
Function · 0.36