tusstore

package
v0.1.0-develop.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Index

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) GetUpload

func (store DbFileStore) GetUpload(ctx context.Context, id string) (handler.Upload, error)

func (DbFileStore) NewUpload

func (store DbFileStore) NewUpload(ctx context.Context, info handler.FileInfo) (handler.Upload, error)

func (DbFileStore) UseIn

func (store DbFileStore) UseIn(composer *handler.StoreComposer)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL