Documentation ¶
Index ¶
- Variables
- type AAbookApi
- func (receiver *AAbookApi) BookChapterIndexApi(bookId string) []BookChapterIndex
- func (receiver *AAbookApi) BookIndexByPageApi(pageNum, pageSize, catId, size, isFinish, updT, orderBy int) []IndexBook
- func (receiver *AAbookApi) BookInfoByIdApi(bookId string) *BookInfo
- func (receiver *AAbookApi) ChapterByChapterIdApi(chapterId string) *Chapter
- func (receiver *AAbookApi) SearchBookInfoByKeywordApi(keyword string, page int, order string) []SearchBook
- type AAbookClient
- func (receiver *AAbookClient) BookInfo(bookId string) *BookInfo
- func (receiver *AAbookClient) DownloadBook(bookId string) chan *Chapter
- func (receiver *AAbookClient) GetBookIndexByPage(page int, pageSize int) []IndexBook
- func (receiver *AAbookClient) Search(keyword string, page int, order string) []SearchBook
- type BookCatalog
- type BookChapterIndex
- type BookInfo
- type Chapter
- type IndexBook
- type SearchBook
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultProxyIp string
View Source
var DefaultProxyPassword string
View Source
var DefaultProxyPort string
View Source
var DefaultProxyUserName string
Functions ¶
This section is empty.
Types ¶
type AAbookApi ¶
type AAbookApi struct {
Get func(pointPath string, params url.Values) requests.HttpResultInterface
}
func NewAAbookApi ¶
func NewAAbookApi() *AAbookApi
func (*AAbookApi) BookChapterIndexApi ¶
func (receiver *AAbookApi) BookChapterIndexApi(bookId string) []BookChapterIndex
func (*AAbookApi) BookIndexByPageApi ¶
func (*AAbookApi) BookInfoByIdApi ¶
func (*AAbookApi) ChapterByChapterIdApi ¶
func (*AAbookApi) SearchBookInfoByKeywordApi ¶
func (receiver *AAbookApi) SearchBookInfoByKeywordApi(keyword string, page int, order string) []SearchBook
type AAbookClient ¶
type AAbookClient struct {
Api *AAbookApi
}
func NewAAbookClient ¶
func NewAAbookClient() *AAbookClient
func (*AAbookClient) BookInfo ¶
func (receiver *AAbookClient) BookInfo(bookId string) *BookInfo
func (*AAbookClient) DownloadBook ¶
func (receiver *AAbookClient) DownloadBook(bookId string) chan *Chapter
func (*AAbookClient) GetBookIndexByPage ¶
func (receiver *AAbookClient) GetBookIndexByPage(page int, pageSize int) []IndexBook
func (*AAbookClient) Search ¶
func (receiver *AAbookClient) Search(keyword string, page int, order string) []SearchBook
type BookCatalog ¶
type BookChapterIndex ¶
type BookChapterIndex struct { BookId string `json:"book_id"` ChapterIndex string `json:"chapter_index"` ChapterTitle string `json:"chapter_title"` ChapterId string `json:"chapter_id"` ChapterUpdateTime string `json:"chapter_update_time"` ChapterContentWordCount string `json:"chapter_content_word_count"` }
type BookInfo ¶
type BookInfo struct { BookId string `json:"book_id"` BookName string `json:"book_name"` BookAuthor string `json:"book_author"` Description string `json:"description"` CreationTime string `json:"creation_time"` BookType string `json:"book_type"` LastUpdatedChapterTime string `json:"last_updated_chapter_time"` LastUpdatedChapterName string `json:"last_updated_chapter_name"` BookStatus string `json:"book_status"` WordCount string `json:"word_count"` ViewCount string `json:"view_count"` MonthCount string `json:"month_count"` WeekCount string `json:"week_count"` TotalRecommendedCount string `json:"total_recommended_count"` MonthRecommendedCount string `json:"month_recommended_count"` WeekRecommendedCount string `json:"week_recommended_count"` }
Click to show internal directories.
Click to hide internal directories.