MCPcopy Create free account
hub / github.com/PatchMon/PatchMon / ListSessionsByUserID

Method ListSessionsByUserID

server-source-code/internal/db/querier.go:396–396  ·  view source on GitHub ↗
(ctx context.Context, userID string)

Source from the content-addressed store, hash-verified

394 ListScheduledReports(ctx context.Context) ([]ScheduledReport, error)
395 ListScheduledReportsDue(ctx context.Context, nextRunAt pgtype.Timestamp) ([]ScheduledReport, error)
396 ListSessionsByUserID(ctx context.Context, userID string) ([]UserSession, error)
397 ListStalledComplianceScans(ctx context.Context, startedAt pgtype.Timestamp) ([]ListStalledComplianceScansRow, error)
398 ListStalledComplianceScansWithDetails(ctx context.Context, startedAt pgtype.Timestamp) ([]ListStalledComplianceScansWithDetailsRow, error)
399 ListSystemStatisticsByDateRange(ctx context.Context, arg ListSystemStatisticsByDateRangeParams) ([]SystemStatistic, error)

Callers 1

ListByUserIDMethod · 0.65

Implementers 1

Queriesserver-source-code/internal/db/db.go

Calls

no outgoing calls

Tested by

no test coverage detected