MCPcopy Create free account
hub / github.com/bcspragu/logseq-sync / authContextKey

Struct authContextKey

cmd/server/main.go:249–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247type UserID string
248
249type authContextKey struct{}
250
251// NOTE: This will only work in handlers that use the toHandleFunc wrapper.
252func (s *server) getUserID(ctx context.Context) (UserID, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected