Documentation ¶
Index ¶
- type SQLiteDriver
- func (s *SQLiteDriver) ChunkAttachmentList(ctx context.Context, uuid chunkyUploads.UUID) ([]*chunkyUploads.ChunkAttachment, error)
- func (s *SQLiteDriver) ChunkCreate(ctx context.Context, f *chunkyUploads.File, c *chunkyUploads.Chunk) error
- func (s *SQLiteDriver) ChunkDelete(ctx context.Context, uuid chunkyUploads.UUID) error
- func (s *SQLiteDriver) ChunkRetrieve(ctx context.Context, uuid chunkyUploads.UUID) (*chunkyUploads.Chunk, error)
- func (s *SQLiteDriver) ChunkStorageUsage(ctx context.Context) (n uint64, err error)
- func (s *SQLiteDriver) Close() error
- func (s *SQLiteDriver) FileCreate(ctx context.Context, f *chunkyUploads.File) error
- func (s *SQLiteDriver) FileDelete(ctx context.Context, uuid chunkyUploads.UUID) error
- func (s *SQLiteDriver) FileQuery(ctx context.Context, q *chunkyUploads.FileQuery) (*chunkyUploads.FileQueryResult, error)
- func (s *SQLiteDriver) FileRetrieve(ctx context.Context, uuid chunkyUploads.UUID) (*chunkyUploads.File, error)
- func (s *SQLiteDriver) FileUpdate(ctx context.Context, uuid chunkyUploads.UUID, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLiteDriver ¶
type SQLiteDriver struct {
// contains filtered or unexported fields
}
func NewSQLiteDriver ¶
func NewSQLiteDriver(tablePrefix, path string) (*SQLiteDriver, error)
func (*SQLiteDriver) ChunkAttachmentList ¶
func (s *SQLiteDriver) ChunkAttachmentList(ctx context.Context, uuid chunkyUploads.UUID) ([]*chunkyUploads.ChunkAttachment, error)
func (*SQLiteDriver) ChunkCreate ¶
func (s *SQLiteDriver) ChunkCreate(ctx context.Context, f *chunkyUploads.File, c *chunkyUploads.Chunk) error
func (*SQLiteDriver) ChunkDelete ¶
func (s *SQLiteDriver) ChunkDelete(ctx context.Context, uuid chunkyUploads.UUID) error
func (*SQLiteDriver) ChunkRetrieve ¶
func (s *SQLiteDriver) ChunkRetrieve(ctx context.Context, uuid chunkyUploads.UUID) (*chunkyUploads.Chunk, error)
func (*SQLiteDriver) ChunkStorageUsage ¶
func (s *SQLiteDriver) ChunkStorageUsage(ctx context.Context) (n uint64, err error)
func (*SQLiteDriver) Close ¶
func (s *SQLiteDriver) Close() error
func (*SQLiteDriver) FileCreate ¶
func (s *SQLiteDriver) FileCreate(ctx context.Context, f *chunkyUploads.File) error
func (*SQLiteDriver) FileDelete ¶
func (s *SQLiteDriver) FileDelete(ctx context.Context, uuid chunkyUploads.UUID) error
func (*SQLiteDriver) FileQuery ¶
func (s *SQLiteDriver) FileQuery(ctx context.Context, q *chunkyUploads.FileQuery) (*chunkyUploads.FileQueryResult, error)
func (*SQLiteDriver) FileRetrieve ¶
func (s *SQLiteDriver) FileRetrieve(ctx context.Context, uuid chunkyUploads.UUID) (*chunkyUploads.File, error)
func (*SQLiteDriver) FileUpdate ¶
func (s *SQLiteDriver) FileUpdate(ctx context.Context, uuid chunkyUploads.UUID, update func(f *chunkyUploads.File) error) error
Click to show internal directories.
Click to hide internal directories.