mirror of
https://github.com/cloudreve/Cloudreve.git
synced 2026-11-17 22:58:07 +00:00
Feat experimental WebAuth API
This commit is contained in:
1 parent
0932a10fed
commit
f35c585edf
14 files changed
+269
-6
No files matched your search
@@ -0,0 +1,12 @@
|
||||
package response
|
||||
|
||||
import "io"
|
||||
|
||||
// ContentResponse 获取文件内容类方法的通用返回值。
|
||||
// 有些上传策略需要重定向,
|
||||
// 有些直接写文件数据到浏览器
|
||||
type ContentResponse struct {
|
||||
Redirect bool
|
||||
Content io.ReadSeeker
|
||||
URL string
|
||||
}
|
||||
Reference in new issue
Block a user