Documentation
¶
Index ¶
- type DbFileStore
- func (store DbFileStore) AsConcatableUpload(upload handler.Upload) handler.ConcatableUpload
- func (store DbFileStore) AsLengthDeclarableUpload(upload handler.Upload) handler.LengthDeclarableUpload
- func (store DbFileStore) AsTerminatableUpload(upload handler.Upload) handler.TerminatableUpload
- func (store DbFileStore) GetUpload(ctx context.Context, id string) (handler.Upload, error)
- func (store DbFileStore) NewUpload(ctx context.Context, info handler.FileInfo) (handler.Upload, error)
- func (store DbFileStore) UseIn(composer *handler.StoreComposer)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DbFileStore ¶
type DbFileStore struct { // Relative or absolute path to store files in. DbFileStore does not check // whether the path exists, use os.MkdirAll in this case on your own. Path string }
func (DbFileStore) AsConcatableUpload ¶
func (store DbFileStore) AsConcatableUpload(upload handler.Upload) handler.ConcatableUpload
func (DbFileStore) AsLengthDeclarableUpload ¶
func (store DbFileStore) AsLengthDeclarableUpload(upload handler.Upload) handler.LengthDeclarableUpload
func (DbFileStore) AsTerminatableUpload ¶
func (store DbFileStore) AsTerminatableUpload(upload handler.Upload) handler.TerminatableUpload
func (DbFileStore) UseIn ¶
func (store DbFileStore) UseIn(composer *handler.StoreComposer)
Click to show internal directories.
Click to hide internal directories.