Documentation ¶
Overview ¶
Package blog implements blog tasks.
Index ¶
- func Convert2WrodsMap(c *chaining.Chain) (interface{}, error)
- func FilterDiscardWords(c *chaining.Chain) (interface{}, error)
- func FilterFmt(c *chaining.Chain) (interface{}, error)
- func FilterMinimalWordsCount(minialCount int) func(c *chaining.Chain) (interface{}, error)
- func FilterMostFreqWords(topN int) func(c *chaining.Chain) (interface{}, error)
- type Analyser
- type Blog
- type Post
- type RssWorker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Convert2WrodsMap ¶
func Convert2WrodsMap(c *chaining.Chain) (interface{}, error)
func FilterDiscardWords ¶
func FilterDiscardWords(c *chaining.Chain) (interface{}, error)
func FilterMinimalWordsCount ¶
func FilterMostFreqWords ¶
Types ¶
type Analyser ¶
type Analyser struct {
// contains filtered or unexported fields
}
func NewAnalyser ¶
func NewAnalyser() *Analyser
type Blog ¶
type Blog struct {
// contains filtered or unexported fields
}
func (*Blog) GetPostIter ¶
func (*Blog) LoadAllPostsCnt ¶
type RssWorker ¶
type RssWorker struct {
// contains filtered or unexported fields
}
RssWorker rss worker
func NewRssWorker ¶
NewRssWorker create rss worker
func (*RssWorker) GenerateRSS ¶
GenerateRSS scan all posts and generate rss
func (*RssWorker) Write2File ¶
Write2File write rss to file
Click to show internal directories.
Click to hide internal directories.