Documentation ¶
Index ¶
- func DBmongoIndexInit(pRuntimeSys *gf_core.RuntimeSys) *gf_core.GFerror
- func DiscoverDomainsInDB(pRuntimeSys *gf_core.RuntimeSys) *gf_core.GFerror
- func InitDomainsAggregation(pRuntimeSys *gf_core.RuntimeSys)
- func InitHandlers(pTemplatesPathsMap map[string]string, pMux *http.ServeMux, ...) *gf_core.GFerror
- type GFdomain
- type GFdomainImages
- type GFdomainPosts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DBmongoIndexInit ¶
func DBmongoIndexInit(pRuntimeSys *gf_core.RuntimeSys) *gf_core.GFerror
func DiscoverDomainsInDB ¶
func DiscoverDomainsInDB(pRuntimeSys *gf_core.RuntimeSys) *gf_core.GFerror
func InitDomainsAggregation ¶
func InitDomainsAggregation(pRuntimeSys *gf_core.RuntimeSys)
func InitHandlers ¶
Types ¶
type GFdomain ¶
type GFdomain struct { Id primitive.ObjectID `bson:"_id,omitempty"` Id_str string `bson:"id_str"` T_str string `bson:"t"` // "domain" Name_str string `bson:"name_str"` Count_int int `bson:"count_int"` Domain_posts GFdomainPosts `bson:"posts_domain"` Domain_images GFdomainImages `bson:"images_domain"` }
type GFdomainImages ¶
type GFdomainImages struct { Name_str string `bson:"_id"` Count_int int `bson:"count_int"` // total count of all subpages counts Subpages_Counts_map map[string]int `bson:"subpages_counts_map"` // counts of individual sub-page urls that images come from }
func DBmongoGetDomainsImages ¶
func DBmongoGetDomainsImages(pRuntimeSys *gf_core.RuntimeSys) ([]GFdomainImages, *gf_core.GFerror)
type GFdomainPosts ¶
func DBmongoGetDomainsPosts ¶
func DBmongoGetDomainsPosts(pRuntimeSys *gf_core.RuntimeSys) ([]GFdomainPosts, *gf_core.GFerror)
Click to show internal directories.
Click to hide internal directories.