Documentation ¶
Index ¶
- func GetUpload(ctx context.Context, d *driver, storageRoot string, id string) (tusd.Upload, error)
- func New(m map[string]interface{}, _ events.Stream, _ *zerolog.Logger) (storage.FS, error)
- func NewUpload(ctx context.Context, d *driver, storageRoot string, info tusd.FileInfo) (tusd.Upload, error)
- type BearerAuthenticator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BearerAuthenticator ¶ added in v2.18.0
type BearerAuthenticator struct {
Token string
}
BearerAuthenticator represents an authenticator that adds a Bearer token to the Authorization header of HTTP requests.
func (BearerAuthenticator) Authorize ¶ added in v2.18.0
Authorize adds the Bearer token to the Authorization header of the provided HTTP request.
func (BearerAuthenticator) Clone ¶ added in v2.18.0
func (b BearerAuthenticator) Clone() gowebdav.Authenticator
Clone creates a new instance of the BearerAuthenticator.
func (BearerAuthenticator) Close ¶ added in v2.18.0
func (BearerAuthenticator) Close() error
Close is not implemented for the BearerAuthenticator. It always returns nil.
Click to show internal directories.
Click to hide internal directories.