MCPcopy Create free account
hub / github.com/0xUnixIO/pulse / Create

Method Create

internal/auth/auth.go:19–19  ·  view source on GitHub ↗
(token, username string)

Source from the content-addressed store, hash-verified

17// SessionStore 定义 session 持久化接口。
18type SessionStore interface {
19 Create(token, username string) error
20 GetUsername(token string) (string, bool)
21 Delete(token string) error
22 DeleteAll() error

Callers 6

HandleLoginMethod · 0.65
LoginMethod · 0.65
LoginFromRequestMethod · 0.65
CreateSessionMethod · 0.65
CreatePgDumpFunction · 0.65
downloadAndExtractFunction · 0.65

Implementers 2

memSessionStoreinternal/auth/auth_test.go
SessionStoreinternal/store/postgres/sessions.go

Calls

no outgoing calls

Tested by

no test coverage detected