Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultClientID = "lc4tcxdkp0hkg87merghpp1f52alaj"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HelixClient ¶
type HelixClient struct {
// contains filtered or unexported fields
}
func (*HelixClient) GetStreams ¶
ids are numeric IDs.
func (*HelixClient) GetUsersFollows ¶
func (client *HelixClient) GetUsersFollows(fromID string, toID string) ([]helix_api.UserFollow, error)
Here, fromID and toID are numeric IDs.
type HelixClientT ¶
type HelixClientT interface { GetUsers(ids []string, usernames []string) ([]helix_api.User, error) GetUsersFollows(fromID string, toID string) ([]helix_api.UserFollow, error) GetStreams(ids []string, usernames []string) ([]helix_api.Stream, error) }
func DefaultHelixClient ¶
func DefaultHelixClient() HelixClientT
func NewHelixClient ¶
func NewHelixClient(clientID string) HelixClientT
type InnerClientT ¶
type InnerClientT interface { GetUsers(params *helix_api.UsersParams) (*helix_api.UsersResponse, error) GetUsersFollows(params *helix_api.UsersFollowsParams) (*helix_api.UsersFollowsResponse, error) GetStreams(params *helix_api.StreamsParams) (*helix_api.StreamsResponse, error) }
InnerClientT Interface for inner API client.
Click to show internal directories.
Click to hide internal directories.