mirror of
https://github.com/caddyserver/caddy.git
synced 2025-05-28 22:55:50 +08:00
filesystem: Globally declared filesystems, fs
directive (#5833)
This commit is contained in:
10
filesystem.go
Normal file
10
filesystem.go
Normal file
@ -0,0 +1,10 @@
|
||||
package caddy
|
||||
|
||||
import "io/fs"
|
||||
|
||||
type FileSystems interface {
|
||||
Register(k string, v fs.FS)
|
||||
Unregister(k string)
|
||||
Get(k string) (v fs.FS, ok bool)
|
||||
Default() fs.FS
|
||||
}
|
Reference in New Issue
Block a user