Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { ClientID string `yaml:"client_id"` ClientSecret string `yaml:"client_secret"` }
func UnmarshalConfig ¶
type ScoreDetails ¶
type ScoreDetails struct { CreatedAt time.Time `json:"created_at"` BroadcasterType string `json:"broadcaster_type"` }
func NewScoreDetails ¶
func NewScoreDetails(createdAt time.Time, broadcasterType string) *ScoreDetails
func (*ScoreDetails) GetScore ¶
func (d *ScoreDetails) GetScore() (score uint64)
GetScore implements types.ProfileScoreDetails
type Scorer ¶
type Scorer struct {
// contains filtered or unexported fields
}
func (*Scorer) GetRateLimit ¶
func (s *Scorer) GetRateLimit() *profilesscore.ScoreRateLimit
GetRateLimit implements Scorer
func (*Scorer) GetScoreDetails ¶
func (s *Scorer) GetScoreDetails(_ string, application string, username string) (types.ProfileScoreDetails, error)
GetScoreDetails implements Scorer
Click to show internal directories.
Click to hide internal directories.