gf_domains_lib

package
Version: v0.0.0-...-f734a71 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: GPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DB_index__init

func DB_index__init(p_runtime_sys *gf_core.Runtime_sys) *gf_core.Gf_error

--------------------------------------------------

func Discover_domains_in_db

func Discover_domains_in_db(p_runtime_sys *gf_core.Runtime_sys) *gf_core.Gf_error

--------------------------------------------------

func Init_domains_aggregation

func Init_domains_aggregation(p_runtime_sys *gf_core.Runtime_sys)

--------------------------------------------------

func Init_handlers

func Init_handlers(p_templates_paths_map map[string]string,
	p_runtime_sys *gf_core.Runtime_sys) *gf_core.Gf_error

-------------------------------------------------

Types

type Gf_domain

type Gf_domain 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  Gf_domain_posts    `bson:"posts_domain"`
	Domain_images Gf_domain_images   `bson:"images_domain"`
}

-------------------------------------------------- ADD!! - creation_time

type Gf_domain_images

type Gf_domain_images 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"` //ccounts of individual sub-page urls that images come from
}

func Get_domains_images__mongo

func Get_domains_images__mongo(p_runtime_sys *gf_core.Runtime_sys) ([]Gf_domain_images, *gf_core.Gf_error)

type Gf_domain_posts

type Gf_domain_posts struct {
	Name_str  string `bson:"name_str"`
	Count_int int    `bson:"count_int"`
}

---------------------------------------------------

func Get_domains_posts__mongo

func Get_domains_posts__mongo(p_runtime_sys *gf_core.Runtime_sys) ([]Gf_domain_posts, *gf_core.Gf_error)

---------------------------------------------------

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL