mirror of
https://github.com/dstotijn/hetty.git
synced 2025-07-01 18:47:29 -04:00
13 lines
399 B
Go
13 lines
399 B
Go
package sender
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type Repository interface {
|
|
FindSenderRequestByID(ctx context.Context, projectID, id string) (*Request, error)
|
|
FindSenderRequests(ctx context.Context, projectID string, filterFn func(*Request) (bool, error)) ([]*Request, error)
|
|
StoreSenderRequest(ctx context.Context, req *Request) error
|
|
DeleteSenderRequests(ctx context.Context, projectID string) error
|
|
}
|