Versions in this module Expand all Collapse all v0 v0.0.6 Apr 23, 2024 v0.0.5 May 26, 2023 Changes in this version + const ActorsFilterAll + const ActorsFilterCanDownload + const ActorsFilterHasZH + const ActorsFilterPlayable + const ActorsFilterSingle + const HomesCategoryAll + const HomesCategoryCensored + const HomesCategoryUncensored + const HomesCategoryWestern + const HomesFilterByAll + const HomesFilterByCanDownload + const HomesFilterByHasReviews + const HomesFilterByHasZH + const HomesSortByMagnetUpdate + const HomesSortByPubDate + const MakersFilterAll + const MakersFilterCanDownload + const MakersFilterHasPreview + const MakersFilterHasZH + const MakersFilterPlayable + const MakersFilterSingle + const PathActors + const PathMakers + const PathRankings + const PathReviews + const PathSearch + const RankingsCategoryCensored + const RankingsCategoryUncensored + const RankingsCategoryWestern + const RankingsTimeDaily + const RankingsTimeMonthly + const RankingsTimeWeekly + func WithDomain(domain string) func(c *Client) + func WithProxy(addr string) func(c *Client) + func WithTimeout(timeout time.Duration) func(c *Client) + func WithUserAgent(ua string) func(c *Client) + type API struct + Filter Filter + Limit int + Page int + func (a *API) First(url string) (*JavDB, error) + func (a *API) Get(t interface{}) ([]*JavDB, error) + func (a *API) SetFilter(filter Filter) *API + func (a *API) SetLimit(limit int) *API + func (a *API) SetPage(page int) *API + func (a *API) WithDebug() *API + func (a *API) WithDetails() *API + func (a *API) WithRandom() *API + func (a *API) WithReviews() *API + type APIActors struct + Actor string + Filter []string + func (a *APIActors) Get() ([]*JavDB, error) + func (a *APIActors) SetActor(actor string) *APIActors + func (a *APIActors) SetFilter(filter Filter) *APIActors + func (a *APIActors) SetFilterAll() *APIActors + func (a *APIActors) SetFilterCanDownload() *APIActors + func (a *APIActors) SetFilterHasZH() *APIActors + func (a *APIActors) SetFilterPlayable() *APIActors + func (a *APIActors) SetFilterSingle() *APIActors + func (a *APIActors) SetLimit(limit int) *APIActors + func (a *APIActors) SetPage(page int) *APIActors + func (a *APIActors) WithDebug() *APIActors + func (a *APIActors) WithDetails() *APIActors + func (a *APIActors) WithRandom() *APIActors + func (a *APIActors) WithReviews() *APIActors + type APIFirst struct + Raw string + func (a *APIFirst) First() (*JavDB, error) + func (a *APIFirst) SetRaw(raw string) *APIFirst + func (a *APIFirst) WithDebug() *APIFirst + func (a *APIFirst) WithReviews() *APIFirst + type APIHomes struct + Category string + FilterBy string + SortBy string + func (a *APIHomes) Get() ([]*JavDB, error) + func (a *APIHomes) SetCategoryAll() *APIHomes + func (a *APIHomes) SetCategoryCensored() *APIHomes + func (a *APIHomes) SetCategoryUncensored() *APIHomes + func (a *APIHomes) SetCategoryWestern() *APIHomes + func (a *APIHomes) SetFilter(filter Filter) *APIHomes + func (a *APIHomes) SetFilterByAll() *APIHomes + func (a *APIHomes) SetFilterByCanDownload() *APIHomes + func (a *APIHomes) SetFilterByHasReviews() *APIHomes + func (a *APIHomes) SetFilterByHasZH() *APIHomes + func (a *APIHomes) SetLimit(limit int) *APIHomes + func (a *APIHomes) SetPage(page int) *APIHomes + func (a *APIHomes) SetSortByMagnetUpdate() *APIHomes + func (a *APIHomes) SetSortByPubDate() *APIHomes + func (a *APIHomes) WithDebug() *APIHomes + func (a *APIHomes) WithDetails() *APIHomes + func (a *APIHomes) WithRandom() *APIHomes + func (a *APIHomes) WithReviews() *APIHomes + type APIMakers struct + Filter string + Maker string + func (a *APIMakers) Get() ([]*JavDB, error) + func (a *APIMakers) SetFilter(filter Filter) *APIMakers + func (a *APIMakers) SetFilterAll() *APIMakers + func (a *APIMakers) SetFilterCanDownload() *APIMakers + func (a *APIMakers) SetFilterHasPreview() *APIMakers + func (a *APIMakers) SetFilterHasZH() *APIMakers + func (a *APIMakers) SetFilterPlayable() *APIMakers + func (a *APIMakers) SetFilterSingle() *APIMakers + func (a *APIMakers) SetLimit(limit int) *APIMakers + func (a *APIMakers) SetMaker(maker string) *APIMakers + func (a *APIMakers) SetPage(page int) *APIMakers + func (a *APIMakers) WithDebug() *APIMakers + func (a *APIMakers) WithDetails() *APIMakers + func (a *APIMakers) WithRandom() *APIMakers + func (a *APIMakers) WithReviews() *APIMakers + type APIRankings struct + Category string + Time string + func (a *APIRankings) Get() ([]*JavDB, error) + func (a *APIRankings) SetCategoryCensored() *APIRankings + func (a *APIRankings) SetCategoryUncensored() *APIRankings + func (a *APIRankings) SetCategoryWestern() *APIRankings + func (a *APIRankings) SetFilter(filter Filter) *APIRankings + func (a *APIRankings) SetLimit(limit int) *APIRankings + func (a *APIRankings) SetPage(page int) *APIRankings + func (a *APIRankings) SetTimeDaily() *APIRankings + func (a *APIRankings) SetTimeMonthly() *APIRankings + func (a *APIRankings) SetTimeWeekly() *APIRankings + func (a *APIRankings) WithDebug() *APIRankings + func (a *APIRankings) WithDetails() *APIRankings + func (a *APIRankings) WithRandom() *APIRankings + func (a *APIRankings) WithReviews() *APIRankings + type APIRaw struct + Raw string + func (a *APIRaw) Get() ([]*JavDB, error) + func (a *APIRaw) SetFilter(filter Filter) *APIRaw + func (a *APIRaw) SetLimit(limit int) *APIRaw + func (a *APIRaw) SetPage(page int) *APIRaw + func (a *APIRaw) SetRaw(raw string) *APIRaw + func (a *APIRaw) WithDebug() *APIRaw + func (a *APIRaw) WithDetails() *APIRaw + func (a *APIRaw) WithRandom() *APIRaw + func (a *APIRaw) WithReviews() *APIRaw + type APISearch struct + Query string + func (a *APISearch) Get() ([]*JavDB, error) + func (a *APISearch) SetFilter(filter Filter) *APISearch + func (a *APISearch) SetLimit(limit int) *APISearch + func (a *APISearch) SetPage(page int) *APISearch + func (a *APISearch) SetQuery(query string) *APISearch + func (a *APISearch) WithDebug() *APISearch + func (a *APISearch) WithDetails() *APISearch + func (a *APISearch) WithReviews() *APISearch + type Client struct + Domain string + HTTP *http.Client + ProxyAddr string + UserAgent string + func NewClient(options ...option) *Client + func (c *Client) GetActors() *APIActors + func (c *Client) GetFirst() *APIFirst + func (c *Client) GetHomes() *APIHomes + func (c *Client) GetMakers() *APIMakers + func (c *Client) GetRankings() *APIRankings + func (c *Client) GetRaw() *APIRaw + func (c *Client) GetSearch() *APISearch + func (c *Client) SetClient(client *http.Client) *Client + type Filter struct + ActressesIn []string + ActressesNotIn []string + HasMagnets bool + HasPics bool + HasPreview bool + HasReviews bool + HasZH bool + PubDateAfter time.Time + PubDateBefore time.Time + ScoreCountGT int + ScoreCountLT int + ScoreGT float64 + ScoreLT float64 + TagsIn []string + TagsNotIn []string + type JavDB struct + Actresses []string + Code string + Cover string + HasZH bool + Magnets []string + Path string + Pics []string + Preview string + PubDate time.Time + Reviews []string + Score float64 + ScoreCount int + Tags []string + Title string