MCPcopy Create free account
hub / github.com/TomDoesTech/GOTTH / GetUserFromSession

Method GetUserFromSession

internal/store/store.go:23–23  ·  view source on GitHub ↗
(sessionID string, userID string)

Source from the content-addressed store, hash-verified

21type SessionStore interface {
22 CreateSession(session *Session) (*Session, error)
23 GetUserFromSession(sessionID string, userID string) (*User, error)
24}

Callers 1

AddUserToContextMethod · 0.65

Implementers 2

SessionStoreMockinternal/store/mock/mock.go
SessionStoreinternal/store/dbstore/session.go

Calls

no outgoing calls

Tested by

no test coverage detected