Documentation ¶
Index ¶
- type TUSDUploader
- func (u *TUSDUploader) DelFile(w http.ResponseWriter, r *http.Request)
- 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 TUSDUploader ¶
type TUSDUploader struct {
// contains filtered or unexported fields
}
func (*TUSDUploader) DelFile ¶
func (u *TUSDUploader) DelFile(w http.ResponseWriter, r *http.Request)
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 }
func NewTUSDUploader ¶
Click to show internal directories.
Click to hide internal directories.