Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("upload object not found")
Functions ¶
This section is empty.
Types ¶
type Local ¶
type Local struct {
// contains filtered or unexported fields
}
func (*Local) Save ¶
func (s *Local) Save(_ context.Context, body io.Reader, _ SaveOptions) (SavedObject, error)
type R2 ¶
type R2 struct {
// contains filtered or unexported fields
}
func (*R2) Save ¶
func (s *R2) Save(ctx context.Context, body io.Reader, options SaveOptions) (SavedObject, error)
type SaveOptions ¶
type SaveOptions struct {
ContentType string
}
type SavedObject ¶
Click to show internal directories.
Click to hide internal directories.