Documentation
¶
Index ¶
- type Buckets
- type NamedRule
- type Params
- type Paste
- func (o *Paste) PrepareUpload(bucket string, uploadedFile string, rd io.Reader, extra *storage.Metadata) (*Upload, error)
- func (o *Paste) ReadPaste(w http.ResponseWriter, r *http.Request, bucket string, filename string) error
- func (o *Paste) Upload(ctx context.Context, w io.Writer, args *Upload) error
- type Result
- type Rule
- type Upload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Paste ¶
type Paste struct {
// contains filtered or unexported fields
}
func (*Paste) PrepareUpload ¶
func (o *Paste) PrepareUpload(bucket string, uploadedFile string, rd io.Reader, extra *storage.Metadata) (*Upload, error)
first prepare the upload
Click to show internal directories.
Click to hide internal directories.