Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cromega/keyguard
/ functions
Functions
24 in github.com/cromega/keyguard
⨍
Functions
24
◇
Types & classes
6
↓ 8 callers
Function
newServer
(c configuration, a authenticator)
server.go:21
↓ 8 callers
Method
routes
()
routes.go:3
↓ 7 callers
Method
ServeHTTP
(w http.ResponseWriter, r *http.Request)
server.go:33
↓ 6 callers
Function
log
(message interface{})
main.go:52
↓ 5 callers
Function
setErrorResponse
(code int, w http.ResponseWriter)
server.go:120
↓ 2 callers
Function
NewYubiAuthenticator
()
yubi_authenticator.go:19
↓ 2 callers
Function
readFile
(path string)
server.go:124
↓ 2 callers
Method
rootHandler
()
server.go:37
↓ 1 callers
Method
authenticate
(username, password string)
authenticator.go:4
↓ 1 callers
Function
initialize
()
main.go:27
↓ 1 callers
Method
keyHandler
()
server.go:69
↓ 1 callers
Method
pubKeyHandler
()
server.go:96
↓ 1 callers
Function
set401Response
(w http.ResponseWriter)
server.go:115
Function
TestKeysHandlerAuthenticatesTheRequest
(t *testing.T)
server_test.go:108
Function
TestKeysHandlerRequiresAuthentication
(t *testing.T)
server_test.go:67
Function
TestKeysHandlerRequiresValidCredentials
(t *testing.T)
server_test.go:89
Function
TestKeysHandlerRespondsWithKey
(t *testing.T)
server_test.go:138
Function
TestNewYubiAuthenticator
(t *testing.T)
yubi_authenticator_test.go:8
Function
TestPublicKeyHandlerSendsPublicKey
(t *testing.T)
server_test.go:157
Function
TestRootHandlerServesLoaderScriptWithDefaultExpiry
(t *testing.T)
server_test.go:23
Function
TestRootHandlerServesLoaderScriptWithExpiry
(t *testing.T)
server_test.go:45
Method
authenticate
(username, password string)
server_test.go:16
Method
authenticate
(_, password string)
yubi_authenticator.go:40
Function
main
()
main.go:18