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

Method GetSessionByID

server-source-code/internal/db/querier.go:299–299  ·  view source on GitHub ↗
(ctx context.Context, arg GetSessionByIDParams)

Source from the content-addressed store, hash-verified

297 GetScheduledReportByID(ctx context.Context, id string) (ScheduledReport, error)
298 GetSecurityCountByPackageIDs(ctx context.Context, arg GetSecurityCountByPackageIDsParams) ([]GetSecurityCountByPackageIDsRow, error)
299 GetSessionByID(ctx context.Context, arg GetSessionByIDParams) (UserSession, error)
300 GetSessionByRefreshToken(ctx context.Context, refreshToken string) (UserSession, error)
301 GetSourceReposByPackageIDs(ctx context.Context, arg GetSourceReposByPackageIDsParams) ([]GetSourceReposByPackageIDsRow, error)
302 GetSystemStatisticsDaily(ctx context.Context, arg GetSystemStatisticsDailyParams) ([]GetSystemStatisticsDailyRow, error)

Callers 1

GetByIDMethod · 0.65

Implementers 1

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

Calls

no outgoing calls

Tested by

no test coverage detected