mirror of
https://github.com/datarhei/core.git
synced 2025-12-24 13:07:56 +08:00
Add S3 storage support
This commit is contained in:
25
http/fs/fs.go
Normal file
25
http/fs/fs.go
Normal file
@@ -0,0 +1,25 @@
|
||||
package fs
|
||||
|
||||
import (
|
||||
"github.com/datarhei/core/v16/http/cache"
|
||||
"github.com/datarhei/core/v16/io/fs"
|
||||
)
|
||||
|
||||
type FS struct {
|
||||
Name string
|
||||
Mountpoint string
|
||||
|
||||
AllowWrite bool
|
||||
|
||||
EnableAuth bool
|
||||
Username string
|
||||
Password string
|
||||
|
||||
DefaultFile string
|
||||
DefaultContentType string
|
||||
Gzip bool
|
||||
|
||||
Filesystem fs.Filesystem
|
||||
|
||||
Cache cache.Cacher
|
||||
}
|
||||
Reference in New Issue
Block a user