Versions in this module Expand all Collapse all v1 v1.0.0 Jan 4, 2024 Changes in this version + var MaximumNumberOfFilesCopiedAtTheSameTime = 10 + var MaximumNumberOfFilesUploadedAtTheSameTime = 10 + var PackageAndPreviewPrepath = "microsite" + type FileSystem struct + FileName string + Url string + func (this *FileSystem) Scan(value interface{}) error + func (this FileSystem) Value() (driver.Value, error) + type MicroSite struct + FilesList string + Package FileSystem + PrePath string + UnixKey string + func (this *MicroSite) GetPackage() FileSystem + func (this *MicroSite) GetPublishActions(db *gorm.DB, ctx context.Context, storage oss.StorageInterface) (objs []*publish.PublishAction, err error) + func (this *MicroSite) GetUnPublishActions(db *gorm.DB, ctx context.Context, storage oss.StorageInterface) (objs []*publish.PublishAction, err error) + func (this *MicroSite) PermissionRN() []string + func (this *MicroSite) PrimaryColumnValuesBySlug(slug string) map[string]string + func (this *MicroSite) PrimarySlug() string + func (this *MicroSite) SetFilesList(filesList []string) + func (this *MicroSite) SetPackage(fileName, url string) + func (this *MicroSite) SetUnixKey() + func (this *MicroSite) UnArchiveAndPublish(getPath func(string) string, fileName string, f io.Reader, ...) (filesList []string, err error) + func (this MicroSite) GetFileList() (arr []string) + func (this MicroSite) GetID() uint + func (this MicroSite) GetPackagePath(fileName string) string + func (this MicroSite) GetPackageUrl(domain string) string + func (this MicroSite) GetPreviewPath(fileName string) string + func (this MicroSite) GetPreviewUrl(domain, fileName string) string + func (this MicroSite) GetPublishedPath(fileName string) string + func (this MicroSite) GetPublishedUrl(domain, fileName string) string + func (this MicroSite) GetUnixKey() string + type MicroSiteInterface interface + GetFileList func() (arr []string) + GetID func() uint + GetPackage func() FileSystem + GetPackagePath func(fileName string) string + GetPackageUrl func(domain string) string + GetPreviewPath func(fileName string) string + GetPreviewUrl func(domain, fileName string) string + GetPublishedPath func(fileName string) string + GetPublishedUrl func(domain, fileName string) string + GetStatus func() string + GetUnixKey func() string + GetVersionName func() string + SetFilesList func(filesList []string) + SetPackage func(fileName, url string) + SetUnixKey func() + UnArchiveAndPublish func(getPath func(string) string, fileName string, f io.Reader, ...) (filesList []string, err error) Other modules containing this package github.com/qor5/admin/v3