Documentation
¶
Index ¶
- type Provider
- func (p *Provider) Delete(ctx context.Context, path string) error
- func (p *Provider) Download(ctx context.Context, path string) (io.ReadCloser, error)
- func (p *Provider) List(ctx context.Context, prefix string) ([]models.FileInfo, error)
- func (p *Provider) ServeFile(w http.ResponseWriter, r *http.Request, key string)
- func (p *Provider) Upload(ctx context.Context, input *models.UploadInput) (*models.UploadOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func (*Provider) Upload ¶
func (p *Provider) Upload(ctx context.Context, input *models.UploadInput) (*models.UploadOutput, error)
Click to show internal directories.
Click to hide internal directories.