Documentation ¶
Index ¶
- type Client
- func (c *Client) GetChannelByID(ctx context.Context, id string) (*entity.Channel, int, error)
- func (c *Client) GetChannelIDByURL(ctx context.Context, url string) (string, int, error)
- func (c *Client) GetVideoIDsByChannelID(ctx context.Context, channelID string) ([]string, int, error)
- func (c *Client) GetVideosByIDs(ctx context.Context, ids []string) ([]entity.Video, int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client contains functions for youtube api client.
func (*Client) GetChannelByID ¶
GetChannelByID to get channel by id.
func (*Client) GetChannelIDByURL ¶
GetChannelIDByURL to get channel id by url.
Click to show internal directories.
Click to hide internal directories.