command

package
v0.0.0-...-a3d510d Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2020 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller interface {
	// 新增漫画
	AddBook(siteURL string) (err error)

	// 获取数据
	ToFetch() (err error)

	// 获取章节 URL 列表
	ToFetchChapterList() (chapterURLList []string, err error)

	// 获取章节数据
	ToFetchChapter(chapterURL string) (chapterName string, imageURLList []string, err error)
}

Controller interface

type Manhuaniu

type Manhuaniu struct {
	// contains filtered or unexported fields
}

Manhuaniu 漫画牛

func NewManhuaniu

func NewManhuaniu(books *model.TbBooks) *Manhuaniu

NewManhuaniu Manhuaniu init

func (*Manhuaniu) AddBook

func (t *Manhuaniu) AddBook(siteURL string) (err error)

AddBook Add new comic

func (*Manhuaniu) ToFetch

func (t *Manhuaniu) ToFetch() (err error)

ToFetch 采集

func (*Manhuaniu) ToFetchBook

func (t *Manhuaniu) ToFetchBook() (err error)

ToFetchBook 获取漫画信息

func (*Manhuaniu) ToFetchChapter

func (t *Manhuaniu) ToFetchChapter(chapterURL string) (chapterName string, imageURLList g.SliceStr, err error)

ToFetchChapter 获取章节内容

func (*Manhuaniu) ToFetchChapterList

func (t *Manhuaniu) ToFetchChapterList() (chapterURLList g.SliceStr, err error)

ToFetchChapterList 采集章节 URL 列表

type Mh1234

type Mh1234 struct {
	// contains filtered or unexported fields
}

Mh1234 漫画1234

func NewMh1234

func NewMh1234(books *model.TbBooks) *Mh1234

NewMh1234 Mh1234 init

func (*Mh1234) AddBook

func (t *Mh1234) AddBook(siteURL string) (err error)

AddBook Add new comic

func (*Mh1234) ToFetch

func (t *Mh1234) ToFetch() (err error)

ToFetch 采集

func (*Mh1234) ToFetchBook

func (t *Mh1234) ToFetchBook() (err error)

ToFetchBook 获取漫画信息

func (*Mh1234) ToFetchChapter

func (t *Mh1234) ToFetchChapter(chapterURL string) (chapterName string, imageURLList g.SliceStr, err error)

ToFetchChapter 获取章节内容

func (*Mh1234) ToFetchChapterList

func (t *Mh1234) ToFetchChapterList() (chapterURLList g.SliceStr, err error)

ToFetchChapterList 采集章节 URL 列表

type Nfydd

type Nfydd struct {
	// contains filtered or unexported fields
}

Nfydd 漫画牛

func NewNfydd

func NewNfydd(books *model.TbBooks) *Nfydd

NewNfydd Nfydd init

func (*Nfydd) AddBook

func (t *Nfydd) AddBook(siteURL string) (err error)

AddBook Add new comic

func (*Nfydd) ToFetch

func (t *Nfydd) ToFetch() (err error)

ToFetch 采集

func (*Nfydd) ToFetchBook

func (t *Nfydd) ToFetchBook() (err error)

ToFetchBook 获取漫画信息

func (*Nfydd) ToFetchChapter

func (t *Nfydd) ToFetchChapter(chapterURL string) (chapterName string, imageURLList g.SliceStr, err error)

ToFetchChapter 获取章节内容

func (*Nfydd) ToFetchChapterList

func (t *Nfydd) ToFetchChapterList() (chapterURLList g.SliceStr, err error)

ToFetchChapterList 采集章节 URL 列表

Jump to

Keyboard shortcuts

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