Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceptedFile ¶
type MockRepository ¶
type MockRepository struct {
Err error
}
func (*MockRepository) Cancel ¶
func (r *MockRepository) Cancel(_ context.Context, fileID string) error
func (*MockRepository) Record ¶
func (r *MockRepository) Record(_ context.Context, file AcceptedFile) error
type Repository ¶
type Repository interface { Record(ctx context.Context, file AcceptedFile) error Cancel(ctx context.Context, fileID string) error }
func NewRepository ¶
func NewRepository(db *sql.DB) Repository
Click to show internal directories.
Click to hide internal directories.