Documentation ¶
Index ¶
- type BookChapterIndex
- type Chapter
- type IndexBookList
- type TxtxiApi
- func (receiver *TxtxiApi) BookIndexByPageApi(page int) []IndexBookList
- func (receiver *TxtxiApi) ChapterByChapterIdApi(chapterId string) *Chapter
- func (receiver *TxtxiApi) GetDownloadLongBookChapters(startChapterId, endChapterId, threadNum int) chan *Chapter
- func (receiver *TxtxiApi) TagBooksByTagIdApi(tagId string, page int) []IndexBookList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 IndexBookList ¶
type IndexBookList struct { Index int `json:"index"` BookId string `json:"book_id"` BookName string `json:"book_name"` Description string `json:"description"` BookCount string `json:"book_count"` ViewCount string `json:"view_count"` TicketCount string `json:"ticket_count"` LastUpdatedChapterTime string `json:"last_updated_chapter_time"` }
type TxtxiApi ¶
type TxtxiApi struct {
// contains filtered or unexported fields
}
func NewTxtxiClient ¶
func NewTxtxiClient() *TxtxiApi
func (*TxtxiApi) BookIndexByPageApi ¶
func (receiver *TxtxiApi) BookIndexByPageApi(page int) []IndexBookList
func (*TxtxiApi) ChapterByChapterIdApi ¶
func (*TxtxiApi) GetDownloadLongBookChapters ¶
func (*TxtxiApi) TagBooksByTagIdApi ¶
func (receiver *TxtxiApi) TagBooksByTagIdApi(tagId string, page int) []IndexBookList
Click to show internal directories.
Click to hide internal directories.