MCPcopy Index your code
hub / github.com/coder/coder / AsConnectionLogger

Function AsConnectionLogger

coderd/database/dbauthz/dbauthz.go:780–782  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

778}
779
780func AsConnectionLogger(ctx context.Context) context.Context {
781 return As(ctx, subjectConnectionLogger)
782}
783
784// AsNotifier returns a context with an actor that has permissions required for
785// creating/reading/updating/deleting notifications.

Callers 5

TestDBBackendIntegrationFunction · 0.92
runMethod · 0.92
flushMethod · 0.92
retryBatchMethod · 0.92
shutdownBatchMethod · 0.92

Calls 1

AsFunction · 0.85

Tested by 1

TestDBBackendIntegrationFunction · 0.74