Documentation ¶
Index ¶
- Variables
- func AddBookshelf(bookId, shelfId string) *structure.AddBookToBookShelfStructure
- func ChaptersYield(bookId string) chan structure.ChapterStructure
- func DeleteBookshelf(bookId, shelfId string) *structure.DelBookFromBookShelfStructure
- func DownloadBookYield(bookId string) chan *structure.ContentStructure
- func GetBookContentReview(chapterId string) chan structure.TsukkomiListStructure
- func GetBookFans(bookId, page string) *structure.BookFansStructure
- func GetBookInfo(bookId string) *structure.BookInfoStructure
- func GetBookLongReviewInfo(bookId, page string) *structure.ReviewLongStructure
- func GetBookOperate(bookId, page string) *structure.BookOperateStructure
- func GetBookReviewInfo(bookId, page string) *structure.ReviewStructure
- func GetBookshelfInfo() []structure.BookShelfBookInfoStructure
- func GetCatalog(bookId string) *structure.ChapterListStructure
- func GetContent(chapterId string) *structure.ContentStructure
- func GetRankInfo(period, rankType, page string) *structure.RankInfoStructure
- func GetRecommendIndex() *structure.RecommendIndexStructure
- func GetRegister() *structure.RegisterStructure
- func GetSearchInfo(keyword, status, page, isPaid string) *structure.SearchStructure
- func GetUserInfo() *structure.UserStructure
- func SetciweimaoAuthentication(token, account string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var RankPeriod = struct { Week string // 周榜 Month string // 月榜 Total string // 总榜 }{Week: "week", Month: "month", Total: "total"}
View Source
var RankType = struct { NoVipClick string // 点击 FansValue string // 畅销 Yp string // 月票 YpNew string // 新书 Favor string // 收藏 Recommend string // 推荐 Blade string // 刀片 WordCount string // 更新 Tsukkomi string // 吐槽 Complet string // 完本 TrackRead string // 追读 }{ NoVipClick: "no_vip_click", FansValue: "fans_value", Yp: "yp", YpNew: "yp_new", Favor: "favor", Recommend: "recommend", Blade: "blade", WordCount: "word_count", Tsukkomi: "tsukkomi", Complet: "complet", TrackRead: "track_read", }
View Source
var SearchType = struct { Free string // 免费 Paid string // 付费 }{Free: "free", Paid: "paid"}
Functions ¶
func AddBookshelf ¶
func AddBookshelf(bookId, shelfId string) *structure.AddBookToBookShelfStructure
func ChaptersYield ¶
func ChaptersYield(bookId string) chan structure.ChapterStructure
func DeleteBookshelf ¶
func DeleteBookshelf(bookId, shelfId string) *structure.DelBookFromBookShelfStructure
func DownloadBookYield ¶
func DownloadBookYield(bookId string) chan *structure.ContentStructure
func GetBookContentReview ¶
func GetBookContentReview(chapterId string) chan structure.TsukkomiListStructure
func GetBookFans ¶
func GetBookFans(bookId, page string) *structure.BookFansStructure
func GetBookInfo ¶
func GetBookInfo(bookId string) *structure.BookInfoStructure
func GetBookLongReviewInfo ¶
func GetBookLongReviewInfo(bookId, page string) *structure.ReviewLongStructure
func GetBookOperate ¶
func GetBookOperate(bookId, page string) *structure.BookOperateStructure
func GetBookReviewInfo ¶
func GetBookReviewInfo(bookId, page string) *structure.ReviewStructure
func GetBookshelfInfo ¶
func GetBookshelfInfo() []structure.BookShelfBookInfoStructure
func GetCatalog ¶
func GetCatalog(bookId string) *structure.ChapterListStructure
func GetContent ¶
func GetContent(chapterId string) *structure.ContentStructure
func GetRankInfo ¶
func GetRankInfo(period, rankType, page string) *structure.RankInfoStructure
func GetRecommendIndex ¶
func GetRecommendIndex() *structure.RecommendIndexStructure
func GetRegister ¶
func GetRegister() *structure.RegisterStructure
func GetSearchInfo ¶
func GetSearchInfo(keyword, status, page, isPaid string) *structure.SearchStructure
func GetUserInfo ¶
func GetUserInfo() *structure.UserStructure
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.