Versions in this module Expand all Collapse all v1 v1.0.2 May 8, 2026 Changes in this version + type Config struct + FilesSaveDir string + FilesSavePathPrefix string + UploadPath string + type FileInfo struct + Name string + Path string + QualityPath string + Size int64 + Type string + type UploadResponse struct + Files []*FileInfo + type UploadService struct + func NewUploadService(cfg *Config) *UploadService + func (this_ *UploadService) GetFileSavePath(filePath string) string + func (this_ *UploadService) GetWebApi() (webApi *web.WebApi) + func (this_ *UploadService) Save(uploadFile *web.UploadFile, quality int) (res *FileInfo, err error) + func (this_ *UploadService) Upload(request *web.WebRequest) (res any, err error)