Feat experimental WebAuth API

This commit is contained in:
HFO4 committed 2019-12-08 22:17:36 +08:00
1 parent 0932a10fed
commit f35c585edf
14 files changed
+269 -6

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
package response
import "io"
// ContentResponse 获取文件内容类方法的通用返回值。
// 有些上传策略需要重定向,
// 有些直接写文件数据到浏览器
type ContentResponse struct {
Redirect bool
Content io.ReadSeeker
URL string
}