package
Version:
v1.3.8
Opens a new window with list of versions in this module.
Published: May 31, 2024
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ContentResponse 获取文件内容类方法的通用返回值。
有些上传策略需要重定向,
有些直接写文件数据到浏览器
type Object struct {
Name string `json:"name"`
RelativePath string `json:"relative_path"`
Source string `json:"source"`
Size uint64 `json:"size"`
IsDir bool `json:"is_dir"`
LastModify time.Time `json:"last_modify"`
}
Object 列出文件、目录时返回的对象
RSCloser 存储策略适配器返回的文件流,有些策略需要带有Closer
Source Files
¶
Click to show internal directories.
Click to hide internal directories.