MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / Pool

Method Pool

internal/oauth/oauth.go:78–78  ·  view source on GitHub ↗

Pool exposes the underlying pgxpool. Reserved for callers that need the raw pool — for example, opening a transaction that this package then participates in via WithTx. Prefer WithTx over direct pool use: it's the supported atomicity pattern across the oauth/agent boundary.

()

Source from the content-addressed store, hash-verified

76// it's the supported atomicity pattern across the oauth/agent
77// boundary.
78func (s *Storage) Pool() *pgxpool.Pool { return s.pool }
79
80// txCtxKey is the canonical context key for a pgx.Tx that should be
81// used by storage methods. Unexported so the only way to populate it

Callers 3

handleOAuthRegisterMethod · 0.80
handleOAuthGetClientMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected