xteam

package
v0.0.0-...-eb64f0e Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewXteam

func NewXteam(dataCh chan crawler.Data, finishCh chan struct{}) *xteamCrawler

Types

type Blog

type Blog struct {
	Source  string   `bson:"source"`
	Title   string   `bson:"title"`
	Author  string   `bson:"author"`
	Date    string   `bson:"date"`
	Photo   string   `bson:"photo"`
	Content string   `bson:"content"`
	Tags    []string `bson:"tags"`
}

func (*Blog) File

func (b *Blog) File() (title, filetype, content string)

func (*Blog) IsFile

func (b *Blog) IsFile() bool

func (*Blog) String

func (b *Blog) String() string

Jump to

Keyboard shortcuts

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