Versions in this module Expand all Collapse all v1 v1.3.0 Apr 8, 2022 v1.2.0 Apr 8, 2022 Changes in this version + const BookNotFoundStatus + const DefaultUserAgent + const NoBookToDownload + const SuccessStatus + var ErrNeedSignin = errors.New("need user account to download books") + var ErrStartAndEndBookID = errors.New("start book id should below the available book id") + var ErrStartBookID = errors.New("the start book id should start from 1") + var ErrStorageFile = errors.New("couldn't create file for storing download process") + func DecodeResponse(resp *http.Response, data interface{}) (err error) + func EscapeFilename(filename string) string + func Filename(resp *http.Response) (name string) + func GenerateUrl(base string, paths ...string) string + func NewCookieJar(path string) (http.CookieJar, error) + func NewDownloadConfig() *config + func NewStorage(start, size int64, path string) (*storage, error) + func NewTalebook(c *config) *talebook + func WrapTimeOut(err error) error + type BookListResponse struct + Books []struct{ ... } + Msg string + Title string + Total int64 + type BookResponse struct + Book struct{ ... } + KindleSender string + Msg string + type CommonResponse struct + Err string + type LoginResponse struct + Msg string