This commit is contained in:
2026-08-16 01:19:10 +08:00
parent c4b114762b
commit c554152f4f
43 changed files with 1311 additions and 318 deletions
+8 -4
View File
@@ -17,10 +17,12 @@ type Cache interface {
}
type StoredFile struct {
Name string
Path string
URL string
Size int64
Name string
Path string
URL string
Size int64
LastModified time.Time
ContentType string
}
// FileStorage owns the persistence boundary for uploaded files.
@@ -50,6 +52,7 @@ type CaptchaSettings struct {
type MediaSettings struct {
SessionTTL int
MaxFileSize int64
ChunkDir string
}
// RuntimeSettings exposes only the active values needed by the application.
@@ -75,6 +78,7 @@ type AuthClaims struct {
Username string
NickName string
AuthorityID uint
UserType string
BufferTime time.Duration
MustChangePwd bool
Issuer string