Documentation ¶
Index ¶
- type Client
- func (c *Client) GetFollowerCount(ctx context.Context, id string) (int, int, error)
- func (c *Client) GetLiveStream(ctx context.Context, id string) (*entity.Video, int, error)
- func (c *Client) GetUser(ctx context.Context, name string) (*entity.User, int, error)
- func (c *Client) GetVideos(ctx context.Context, id 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 is twitch api client.
func (*Client) GetFollowerCount ¶
GetFollowerCount to get follower count.
func (*Client) GetLiveStream ¶ added in v0.27.0
GetStream to get live stream.
Click to show internal directories.
Click to hide internal directories.