Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/quay/clair
/ Check
Method
Check
middleware/auth/handler.go:12–12 ·
view source on GitHub ↗
(context.Context, *http.Request)
Source
from the content-addressed store, hash-verified
10
// allowed to continue.
11
type
Checker
interface
{
12
Check(context.Context, *http.Request) bool
13
}
14
15
type
handler
struct
{
Callers
6
TestPSKAuth
Function · 0.65
ServeHTTP
Method · 0.65
Check
Method · 0.65
ServeHTTP
Method · 0.65
Run
Method · 0.65
TestBase64
Function · 0.65
Implementers
2
fail
middleware/auth/handler.go
PSK
middleware/auth/httpauth_psk.go
Calls
no outgoing calls
Tested by
3
TestPSKAuth
Function · 0.52
Run
Method · 0.52
TestBase64
Function · 0.52