Documentation ¶
Index ¶
- type Client
- type ClientOptions
- type GamesResult
- type HelixCacheClient
- func (c *HelixCacheClient) CacheSize() uint32
- func (c *HelixCacheClient) GetAppTokenClient() (*helix.Client, error)
- func (c *HelixCacheClient) GetGames(games *helix.GamesParams) (*GamesResult, error)
- func (c *HelixCacheClient) GetStreams(streams *helix.StreamsParams) ([]helix.Stream, error)
- func (c *HelixCacheClient) GetUsers(users *helix.UsersParams) (*UsersResult, error)
- func (c *HelixCacheClient) GetUsersAndGames(users *helix.UsersParams, games *helix.GamesParams) (*UsersResult, *GamesResult, error)
- func (c *HelixCacheClient) SearchChannels(search *helix.SearchChannelsParams) ([]helix.Channel, error)
- type UsersResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { GetUsers(users *helix.UsersParams) (*UsersResult, error) GetGames(games *helix.GamesParams) (*GamesResult, error) GetUsersAndGames(users *helix.UsersParams, games *helix.GamesParams) (*UsersResult, *GamesResult, error) GetStreams(streams *helix.StreamsParams) ([]helix.Stream, error) SearchChannels(search *helix.SearchChannelsParams) ([]helix.Channel, error) }
type ClientOptions ¶
type GamesResult ¶
type HelixCacheClient ¶
type HelixCacheClient struct {
// contains filtered or unexported fields
}
func NewHelixCacheClient ¶
func NewHelixCacheClient(options *ClientOptions) *HelixCacheClient
func (*HelixCacheClient) CacheSize ¶
func (c *HelixCacheClient) CacheSize() uint32
func (*HelixCacheClient) GetAppTokenClient ¶
func (c *HelixCacheClient) GetAppTokenClient() (*helix.Client, error)
func (*HelixCacheClient) GetGames ¶
func (c *HelixCacheClient) GetGames(games *helix.GamesParams) (*GamesResult, error)
func (*HelixCacheClient) GetStreams ¶
func (c *HelixCacheClient) GetStreams(streams *helix.StreamsParams) ([]helix.Stream, error)
func (*HelixCacheClient) GetUsers ¶
func (c *HelixCacheClient) GetUsers(users *helix.UsersParams) (*UsersResult, error)
func (*HelixCacheClient) GetUsersAndGames ¶
func (c *HelixCacheClient) GetUsersAndGames(users *helix.UsersParams, games *helix.GamesParams) (*UsersResult, *GamesResult, error)
Utility function
func (*HelixCacheClient) SearchChannels ¶
func (c *HelixCacheClient) SearchChannels(search *helix.SearchChannelsParams) ([]helix.Channel, error)
Click to show internal directories.
Click to hide internal directories.