mirror of
https://github.com/dstotijn/hetty.git
synced 2025-07-01 18:47:29 -04:00
16 lines
428 B
Go
16 lines
428 B
Go
package reqlog
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/dstotijn/hetty/pkg/scope"
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
type Repository interface {
|
|
FindRequestLogs(ctx context.Context, opts FindRequestsOptions, scope *scope.Scope) ([]Request, error)
|
|
FindRequestLogByID(ctx context.Context, id uuid.UUID) (Request, error)
|
|
AddRequestLog(ctx context.Context, reqLog Request) error
|
|
AddResponseLog(ctx context.Context, resLog Response) error
|
|
}
|