Documentation ¶
Index ¶
Constants ¶
View Source
const ( CrawlerPath = "crawler.db" CrawlerBucket = "crawler" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DefaultData ¶
type DefaultData struct { // Source - Source string // Date - Date string // Title - Title string // URL - URL string // Text - Text string // FileType - FileType string }
DefaultData -
func (*DefaultData) File ¶
func (data *DefaultData) File() (title, filetype, content string)
File return title, filetype and content if data is a file type.
func (*DefaultData) IsFile ¶
func (data *DefaultData) IsFile() bool
IsFile return true if field FileType is not "".
func (*DefaultData) String ¶
func (data *DefaultData) String() string
Click to show internal directories.
Click to hide internal directories.