MCPcopy 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 从数据库读取管理员凭证。
26type AdminStore interface {
27 GetAdminUser() (id, username, hash string, ok bool)
28}
29
30// loginAttempt 记录某 IP 的登录失败情况。

Callers 3

HandleLoginMethod · 0.65
LoginMethod · 0.65
LoginFromRequestMethod · 0.65

Implementers 4

MemoryStoreinternal/users/memory.go
mockAdminStoreinternal/auth/auth_test.go
UserStoreinternal/store/postgres/users.go
adminStoreAdapterinternal/server/server.go

Calls

no outgoing calls

Tested by

no test coverage detected