domains

package
v0.0.0-...-44acce7 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2016 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Articlefull

type Articlefull struct {
	ID     bson.ObjectId `bson:"_id,omitempty"`
	Title  string
	Stitle string
	// Tags      string
	Contents  string
	Mcontents string
	Site      string
	Author    string
	Created   time.Time
	Updated   time.Time
}

Articlefull complite entity from DB

type Gphrase

type Gphrase struct {
	Phrase string `bson:"Phrase"`
	Rating int    `bson:"Rating"`
}

Gphrase comment

type Image

type Image struct {
	Link        string
	Description string
}

Image struct

type InitStruct

type InitStruct struct {
	Themes    string
	Locale    string
	Addrs     []string
	Dbadmin   string
	Username  string
	Password  string
	Mechanism string
	Mainroute string
	Mobile    bool
	Site      string
	Analytics string
	Assets    []Image
}

InitStruct start param

type LogRecord

type LogRecord struct {
	Date  time.Time
	Log   string
	Ltype string
}

LogRecord substitude Nginx log capacity

type ObjtoTemplate

type ObjtoTemplate struct {
	Articles  []Articlefull
	Assets    []Image
	Analytics string
}

type Page

type Page struct {
	XMLName    xml.Name `xml:"url"`
	Loc        string   `xml:"loc"`
	Lastmod    string   `xml:"lastmod"`
	Changefreq string   `xml:"changefreq"`
}

Page sitemap Page

type Pages

type Pages struct {
	//	Version string   `xml:"version,attr"`
	XMLName xml.Name `xml:"urlset"`
	XmlNS   string   `xml:"xmlns,attr"`
	//	XmlImageNS string   `xml:"xmlns:image,attr"`
	//	XmlNewsNS  string   `xml:"xmlns:news,attr"`
	Pages []*Page `xml:"url"`
}

Pages struct keep sitemap obj

type Sitemap_from_db

type Sitemap_from_db struct {
	Stitle  string
	Site    string
	Updated time.Time
}

Sitemap_from_db only info for Sitemap format

Jump to

Keyboard shortcuts

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