Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶ added in v0.1.0
type Provider interface {
CreateFolder(ctx context.Context, parentID *string, name string, metadata map[string]string) (*string, error)
ToTusHandler(
storageProviderID uuid.UUID,
basePath string,
parent string,
callback types.Callback,
) (*handler.Handler, error)
GetContent(
ctx context.Context,
id string,
start int64,
end int64,
) ([]byte, error)
}
func GetProvider ¶ added in v0.1.0
func GetProvider(p *database.PublicStorageProvidersSelect) (Provider, error)
Click to show internal directories.
Click to hide internal directories.