Documentation
¶
Index ¶
- func ConnectToSQLite() (*gorm.DB, error)
- func EventLogAdd(db *gorm.DB, c *fiber.Ctx, status, tag, msg string)
- func FileAddAsync(db *gorm.DB, FullPath string) error
- func FileChkAsync(db *gorm.DB)
- func FileDelAsync(db *gorm.DB, FullPath string)
- func FileDelMd5Async(db *gorm.DB, FullPath string)
- func GetExtNorm(path string) string
- func GetMd5File(path string) string
- func PrettyByteSize(b int64) string
- func StringClearColor(msg string) string
- type EventLog
- type File
- type FileSearch
- type Tabler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectToSQLite ¶
func EventLogAdd ¶
model.EventLogAdd(db, c, "500", "CORE", "Error "+err.Error()) model.EventLogAdd(nil, nil, "500", "CORE", "Error "+err.Error())
func FileChkAsync ¶
func FileDelAsync ¶
func FileDelMd5Async ¶ added in v1.12.0
remove hash_thumb file if exist physically
func GetMd5File ¶
func PrettyByteSize ¶
func StringClearColor ¶ added in v1.12.2
Types ¶
type EventLog ¶
type File ¶
Click to show internal directories.
Click to hide internal directories.