Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0xUnixIO/pulse
/ GetAdminUser
Method
GetAdminUser
internal/auth/auth.go:27–27 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
25
// AdminStore 从数据库读取管理员凭证。
26
type
AdminStore
interface
{
27
GetAdminUser() (id, username, hash string, ok bool)
28
}
29
30
// loginAttempt 记录某 IP 的登录失败情况。
Callers
3
HandleLogin
Method · 0.65
Login
Method · 0.65
LoginFromRequest
Method · 0.65
Implementers
4
MemoryStore
internal/users/memory.go
mockAdminStore
internal/auth/auth_test.go
UserStore
internal/store/postgres/users.go
adminStoreAdapter
internal/server/server.go
Calls
no outgoing calls
Tested by
no test coverage detected