hotdataserve

package
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArticleCategoryLabel added in v0.0.9

func ArticleCategoryLabel() []datastruct.Option[string, uint64]

func ArticleCategoryMap added in v0.0.9

func ArticleCategoryMap() map[uint64]*articleCategory.Entity

ArticleCategoryMap GetMapByIds 根据ID列表获取分类Map

func ArticlesSmallEntity2Dto added in v0.0.9

func ArticlesSmallEntity2Dto(data []articles.SmallEntity) []vo.ArticlesSimpleDto

func ArticlesSmallEntityWithUser2Dto added in v0.0.9

func ArticlesSmallEntityWithUser2Dto(data []articles.SmallEntity, userMap map[uint64]*users.EntityComplete) []vo.ArticlesSimpleDto

func GetAnnouncementConfigCache added in v0.0.9

func GetAnnouncementConfigCache() pageConfig.AnnouncementConfig

func GetArticleCategory added in v0.0.9

func GetArticleCategory() []*articleCategory.Entity

func GetArticlesType added in v0.0.9

func GetArticlesType() *[]datastruct.Option[string, int]

func GetArticlesTypeName added in v0.0.9

func GetArticlesTypeName(iType int) string

func GetFooterConfigCache

func GetFooterConfigCache() pageConfig.FooterConfig

func GetLatestArticleSimpleDto added in v0.0.9

func GetLatestArticleSimpleDto() []vo.ArticlesSimpleDto

func GetLatestArticles added in v0.0.9

func GetLatestArticles() []articles.SmallEntity

func GetMailSettingsConfigCache

func GetMailSettingsConfigCache() pageConfig.MailSettingsConfig

func GetOrLoad

func GetOrLoad[T any](key string, load func() (T, error)) T

func GetRecommendedArticles added in v0.0.9

func GetRecommendedArticles() []articles.SmallEntity

func GetSiteSettingsConfigCache

func GetSiteSettingsConfigCache() pageConfig.SiteSettingsConfig

func GetSiteStatisticsData added in v0.0.9

func GetSiteStatisticsData() vo.SiteStats

func Reload

func Reload[T any](key string, dataObj T) error

func SponsorsConfigCache

func SponsorsConfigCache() pageConfig.SponsorsConfig

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL