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 NewMockRepository ¶ added in v0.31.1
func NewMockRepository() Repository
func NewRepository ¶
func NewRepository(db *sql.DB) Repository
func NewSpannerRepository ¶ added in v0.31.0
func NewSpannerRepository(client *spanner.Client) Repository
Click to show internal directories.
Click to hide internal directories.