mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 17:41:57 +08:00
Feat: sign file source url
This commit is contained in:
16
pkg/filesystem/fsctx/context.go
Normal file
16
pkg/filesystem/fsctx/context.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package fsctx
|
||||
|
||||
type key int
|
||||
|
||||
const (
|
||||
// GinCtx Gin的上下文
|
||||
GinCtx key = iota
|
||||
// SavePathCtx 文件物理路径
|
||||
SavePathCtx
|
||||
// FileHeaderCtx 上传的文件
|
||||
FileHeaderCtx
|
||||
// PathCtx 文件或目录的虚拟路径
|
||||
PathCtx
|
||||
// FileModelCtx 文件数据库模型
|
||||
FileModelCtx
|
||||
)
|
||||
Reference in New Issue
Block a user