Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Article ¶
type Article struct { MetaTitle string `json:"meta_title,omitempty" bson:"meta_title,omitempty"` MetaDescription string `json:"meta_description,omitempty" bson:"meta_description,omitempty"` MetaKeywords string `json:"meta_keywords,omitempty" bson:"meta_keywords,omitempty"` Url string `json:"url,omitempty" bson:"url,omitempty"` // 当前的url Icp string `json:"icp,omitempty" bson:"icp,omitempty"` // icp备案号 Ipv4 string `json:"ipv_4,omitempty" bson:"ipv_4,omitempty"` Ipv6 string `json:"ipv_6,omitempty" bson:"ipv_6,omitempty"` // ContentTitle 标题 ContentTitle string `json:"content_title,omitempty" bson:"content_title,omitempty"` // ContentImages 图片 ContentImages []string `json:"content_images,omitempty" bson:"content_images,omitempty"` // Author 作者 Author string `json:"author,omitempty" bson:"author,omitempty"` // PublishTime 发布时间 PublishTime string `json:"publish_time,omitempty" bson:"publish_time,omitempty"` // Content 正文 Content string `json:"content,omitempty" bson:"content,omitempty"` // ContentLine 内容段落 以`\n`为切分标准 ContentLine []string `json:"content_line,omitempty" bson:"content_line,omitempty"` // ContentHTML 正文源码 ContentHTML string `json:"content_html,omitempty" bson:"content_html,omitempty"` // AllLinks 所有链接 内外链 AllLinks []KvMap `json:"all_links,omitempty" bson:"all_links,omitempty"` }
Article 提取的文本信息
Click to show internal directories.
Click to hide internal directories.