Documentation ¶
Index ¶
- type Album
- type Client
- func (client *Client) FetchAlbum(albumID string) (Album, error)
- func (client *Client) FetchComments(galleryID string) ([]Comment, error)
- func (client *Client) FetchMedia(mediaID string) (Album, error)
- func (client *Client) FetchPosts(albumID string) (Album, error)
- func (client *Client) FetchSubmissions(username string, sort string, page string) ([]Submission, error)
- func (client *Client) FetchTag(tag string, sort string, page string) (Tag, error)
- func (client *Client) FetchTrending(section, sort, page string) ([]Submission, error)
- func (client *Client) FetchUser(username string) (User, error)
- func (client *Client) FetchUserComments(username string) ([]Comment, error)
- func (client *Client) FetchUserFavorites(username string, sort string, page string) ([]Submission, error)
- func (client *Client) Search(query string, page string) ([]SearchResult, error)
- type Comment
- type Media
- type SearchResult
- type Submission
- type Tag
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { ClientID string Cache *cache.Cache }
func (*Client) FetchComments ¶
func (*Client) FetchSubmissions ¶
func (*Client) FetchTrending ¶ added in v1.1.0
func (client *Client) FetchTrending(section, sort, page string) ([]Submission, error)
func (*Client) FetchUserComments ¶ added in v1.2.0
func (*Client) FetchUserFavorites ¶ added in v1.2.1
type SearchResult ¶
type Submission ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.