Documentation ¶
Index ¶
- type ClientConfig
- type Service
- func (s Service) GetBotTwitchClient(cfg ClientConfig) (*twitch.Client, error)
- func (s Service) GetTwitchClientForChannel(channel string, cfg ClientConfig) (*twitch.Client, error)
- func (s Service) HasAnyPermissionForChannel(channel string, scopes ...string) (bool, error)
- func (s Service) HasPermissionsForChannel(channel string, scopes ...string) (bool, error)
- func (s Service) RemoveExendedTwitchCredentials(channel string) error
- func (s Service) SetBotTwitchCredentials(accessToken, refreshToken string) (err error)
- func (s Service) SetExtendedTwitchCredentials(channel, accessToken, refreshToken string, scope []string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConfig ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (Service) GetBotTwitchClient ¶
func (s Service) GetBotTwitchClient(cfg ClientConfig) (*twitch.Client, error)
func (Service) GetTwitchClientForChannel ¶
func (Service) HasAnyPermissionForChannel ¶
func (Service) HasPermissionsForChannel ¶
func (Service) RemoveExendedTwitchCredentials ¶
func (Service) SetBotTwitchCredentials ¶
Click to show internal directories.
Click to hide internal directories.