Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Token string // contains filtered or unexported fields }
func (*Client) DownloadArtwork ¶
downloadArtwork will download given artwork and save it to disk
If this function return nil, that means either download succeed or destination file exist. Probably downloaded in the past
func (*Client) FetchMember ¶
func (c *Client) FetchMember(ctx context.Context, log logrus.FieldLogger, member string) ([]string, error)
fetchMember will go to the server and get all artwork (including illustrations and manga) of the member
If the member does not have any artwork, nil slice will be returned
Click to show internal directories.
Click to hide internal directories.