Documentation ¶
Index ¶
- Variables
- func DownloadLongBookChapters(bookName string) chan *Chapter
- type BookCatalog
- type Chapter
- type ClientApi
- type ClientBook18
- type ClientShortApi
- func (book *ClientShortApi) GetBookIndexByPage(page int) []IndexBook
- func (book *ClientShortApi) GetChapterByChapterId(chapterId string) *Chapter
- func (book *ClientShortApi) LongBookChapterIndex(bookName string) []BookCatalog
- func (book *ClientShortApi) SearchBookInfoByKeyword(keyword string, page int) []SearchBook
- type IndexBook
- type SearchBook
Constants ¶
This section is empty.
Variables ¶
View Source
var ProxyIP string
View Source
var ProxyPassword string
View Source
var ProxyPort string
View Source
var ProxyUserName string
Functions ¶
Types ¶
type BookCatalog ¶
type ClientApi ¶ added in v1.1.0
type ClientApi struct {
// contains filtered or unexported fields
}
func (*ClientApi) GetBookIndexByPage ¶ added in v1.1.0
func (*ClientApi) GetChapterByChapterId ¶ added in v1.1.0
func (*ClientApi) LongBookChapterIndex ¶ added in v1.1.0
func (book *ClientApi) LongBookChapterIndex(bookName string) []BookCatalog
func (*ClientApi) SearchBookInfoByKeyword ¶ added in v1.1.0
func (book *ClientApi) SearchBookInfoByKeyword(keyword string, page int) []SearchBook
type ClientBook18 ¶ added in v1.1.0
type ClientBook18 interface { GetChapterByChapterId(chapterId string) *Chapter GetBookIndexByPage(page int) []IndexBook SearchBookInfoByKeyword(keyword string, page int) []SearchBook LongBookChapterIndex(bookName string) []BookCatalog }
func NewBook18Client ¶ added in v1.1.0
func NewBook18Client() ClientBook18
func NewBook18ShortClient ¶ added in v1.1.0
func NewBook18ShortClient() ClientBook18
type ClientShortApi ¶ added in v1.1.0
type ClientShortApi struct {
// contains filtered or unexported fields
}
func (*ClientShortApi) GetBookIndexByPage ¶ added in v1.1.0
func (book *ClientShortApi) GetBookIndexByPage(page int) []IndexBook
func (*ClientShortApi) GetChapterByChapterId ¶ added in v1.1.0
func (book *ClientShortApi) GetChapterByChapterId(chapterId string) *Chapter
func (*ClientShortApi) LongBookChapterIndex ¶ added in v1.1.0
func (book *ClientShortApi) LongBookChapterIndex(bookName string) []BookCatalog
func (*ClientShortApi) SearchBookInfoByKeyword ¶ added in v1.1.0
func (book *ClientShortApi) SearchBookInfoByKeyword(keyword string, page int) []SearchBook
type SearchBook ¶
Click to show internal directories.
Click to hide internal directories.