add pagination for access logs

This commit is contained in:
pascal
2026-02-11 14:41:52 +01:00
parent 55b8d89a79
commit fb4cc37a4a
7 changed files with 126 additions and 21 deletions

View File

@@ -6,5 +6,5 @@ import (
type Manager interface {
SaveAccessLog(ctx context.Context, proxyLog *AccessLogEntry) error
GetAllAccessLogs(ctx context.Context, accountID, userID string) ([]*AccessLogEntry, error)
GetAllAccessLogs(ctx context.Context, accountID, userID string, filter AccessLogFilter) ([]*AccessLogEntry, int64, error)
}