Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadSearchMappings ¶ added in v1.2.4
func LoadSearchMappings()
LoadSearchMappings load application search index
Types ¶
type AppCard ¶
type AppCard struct { Name string TemplateName string ImageURL string FontsAwesomeTag string Link string Title string Description string Used bool AmountUsed uint64 Liked bool AmountLiked uint64 }
AppCard used to render app card in pages
func GetApplicationsByName ¶
GetApplicationsByName get application by name
func SearchAppListByNames ¶ added in v1.2.4
SearchAppListByNames get application by names
type AppCategory ¶
AppCategory card list for single category
func GetAppListWithLiked ¶ added in v1.2.4
func GetAppListWithLiked(user *db.User) []*AppCategory
GetAppListWithLiked get application with liked populated
func GetAppListWithLikedWithoutPopular ¶ added in v1.2.4
func GetAppListWithLikedWithoutPopular(user *db.User) []*AppCategory
GetAppListWithLikedWithoutPopular get application with liked populated
func GetAppListWithoutPopular ¶ added in v1.2.4
func GetAppListWithoutPopular() []*AppCategory
GetAppListWithoutPopular this is mostly for search
type Page ¶
type Page struct{}
Page logic
func (Page) RenderApplicationPage ¶
RenderApplicationPage renders /app/:name
func (Page) SearchApps ¶ added in v1.2.4
SearchApps search apps in search bar
type SearchItem ¶ added in v1.2.4
SearchItem in bleve
Click to show internal directories.
Click to hide internal directories.