Documentation ¶
Index ¶
- type AmazonStore
- type GoogleStore
- type Store
- type TUSDUploader
- func (u *TUSDUploader) DelFile(w http.ResponseWriter, r *http.Request)
- func (u *TUSDUploader) GetBucket() string
- func (u *TUSDUploader) GetCompletedUploadsChan() chan tusd.HookEvent
- func (u *TUSDUploader) GetCreatedUploadsChan() chan tusd.HookEvent
- func (u *TUSDUploader) GetFile(w http.ResponseWriter, r *http.Request)
- func (u *TUSDUploader) GetTerminatedUploadsChan() chan tusd.HookEvent
- func (u *TUSDUploader) GetUploadProgressChan() chan tusd.HookEvent
- func (u *TUSDUploader) HeadFile(w http.ResponseWriter, r *http.Request)
- func (u *TUSDUploader) Metrics() tusd.Metrics
- func (u *TUSDUploader) Middleware(h http.Handler) http.Handler
- func (u *TUSDUploader) PatchFile(w http.ResponseWriter, r *http.Request)
- func (u *TUSDUploader) PostFile(w http.ResponseWriter, r *http.Request)
- func (u *TUSDUploader) SupportedExtensions() string
- type Uploader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AmazonStore ¶ added in v0.9.37
type AmazonStore struct {
// contains filtered or unexported fields
}
func (*AmazonStore) UseIn ¶ added in v0.9.37
func (s *AmazonStore) UseIn(composer *tusd.StoreComposer)
type GoogleStore ¶ added in v0.9.37
type GoogleStore struct {
// contains filtered or unexported fields
}
func (*GoogleStore) UseIn ¶ added in v0.9.37
func (s *GoogleStore) UseIn(composer *tusd.StoreComposer)
type Store ¶ added in v0.9.37
type Store interface {
UseIn(composer *tusd.StoreComposer)
}
type TUSDUploader ¶
type TUSDUploader struct {
// contains filtered or unexported fields
}
func (*TUSDUploader) DelFile ¶
func (u *TUSDUploader) DelFile(w http.ResponseWriter, r *http.Request)
func (*TUSDUploader) GetBucket ¶ added in v0.9.38
func (u *TUSDUploader) GetBucket() string
func (*TUSDUploader) GetCompletedUploadsChan ¶
func (u *TUSDUploader) GetCompletedUploadsChan() chan tusd.HookEvent
func (*TUSDUploader) GetCreatedUploadsChan ¶
func (u *TUSDUploader) GetCreatedUploadsChan() chan tusd.HookEvent
func (*TUSDUploader) GetFile ¶
func (u *TUSDUploader) GetFile(w http.ResponseWriter, r *http.Request)
func (*TUSDUploader) GetTerminatedUploadsChan ¶
func (u *TUSDUploader) GetTerminatedUploadsChan() chan tusd.HookEvent
func (*TUSDUploader) GetUploadProgressChan ¶
func (u *TUSDUploader) GetUploadProgressChan() chan tusd.HookEvent
func (*TUSDUploader) HeadFile ¶
func (u *TUSDUploader) HeadFile(w http.ResponseWriter, r *http.Request)
func (*TUSDUploader) Metrics ¶
func (u *TUSDUploader) Metrics() tusd.Metrics
func (*TUSDUploader) Middleware ¶
func (u *TUSDUploader) Middleware(h http.Handler) http.Handler
func (*TUSDUploader) PatchFile ¶
func (u *TUSDUploader) PatchFile(w http.ResponseWriter, r *http.Request)
func (*TUSDUploader) PostFile ¶
func (u *TUSDUploader) PostFile(w http.ResponseWriter, r *http.Request)
func (*TUSDUploader) SupportedExtensions ¶
func (u *TUSDUploader) SupportedExtensions() string
type Uploader ¶
type Uploader interface { PostFile(w http.ResponseWriter, r *http.Request) PatchFile(w http.ResponseWriter, r *http.Request) DelFile(w http.ResponseWriter, r *http.Request) GetFile(w http.ResponseWriter, r *http.Request) HeadFile(w http.ResponseWriter, r *http.Request) Middleware(h http.Handler) http.Handler SupportedExtensions() string Metrics() tusd.Metrics GetCreatedUploadsChan() chan tusd.HookEvent GetCompletedUploadsChan() chan tusd.HookEvent GetTerminatedUploadsChan() chan tusd.HookEvent GetUploadProgressChan() chan tusd.HookEvent GetBucket() string }
Click to show internal directories.
Click to hide internal directories.