Documentation ¶
Index ¶
- Constants
- func Delete(ctx context.Context, id uu.ID) (err error)
- func Download(w http.ResponseWriter, r *http.Request)
- func FileFromID(ctx context.Context, id uu.ID) (fsfile fs.File, err error)
- func IDToDir(id uu.ID) fs.File
- func Upload(w http.ResponseWriter, r *http.Request)
- func Write(ctx context.Context, id uu.ID, file fs.FileReader) (fsfile fs.File, err error)
Constants ¶
View Source
const ErrNotExist = errs.Sentinel("file does not exist")
View Source
const ( // MaxUploadSize is the max file size allowed to be uploaded MaxUploadSize int64 = 25 << 20 // 25 MB )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.