Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0xUnixIO/pulse
/ GetUsername
Method
GetUsername
internal/auth/auth.go:20–20 ·
view source on GitHub ↗
(token string)
Source
from the content-addressed store, hash-verified
18
type
SessionStore
interface
{
19
Create(token, username string) error
20
GetUsername(token string) (string, bool)
21
Delete(token string) error
22
DeleteAll() error
23
}
Callers
3
HandleMe
Method · 0.65
valid
Method · 0.65
GetUsernameByToken
Method · 0.65
Implementers
2
memSessionStore
internal/auth/auth_test.go
SessionStore
internal/store/postgres/sessions.go
Calls
no outgoing calls
Tested by
no test coverage detected