feat: mem, local uploader

This commit is contained in:
loveuer
2024-04-10 22:10:09 +08:00
commit c5d0b8e45b
40 changed files with 8261 additions and 0 deletions

12
internal/opt/var.go Normal file
View File

@ -0,0 +1,12 @@
package opt
import "errors"
const (
DefaultMaxSize = 32 * 1024 * 1024
ReferrersEnabled = true
)
var (
ErrNotFound = errors.New("not found")
)