Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BadgeCache ¶
type BadgeFetcher ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func NewCache ¶
func NewCache(fetcher BadgeFetcher) *Cache
func (*Cache) MatchBadgeSet ¶
func (c *Cache) MatchBadgeSet(broadcasterID string, ircBadge []twitchirc.Badge) map[string]twitchapi.BadgeVersion
badges=subscriber/6,arc-raiders-launch-2025/1 MatchBadgeSet uses the irc badge tag data to find and match the global and channel badges. The key of the result map is the badge set id with the matched version.
func (*Cache) RefreshChannel ¶
type DisplayManager ¶
type DisplayManager interface {
Convert(unit kittyimg.DisplayUnit) (kittyimg.KittyDisplayUnit, error)
}
type Replacer ¶
type Replacer struct {
// contains filtered or unexported fields
}
func NewReplacer ¶
func NewReplacer(httpClient *http.Client, cache BadgeCache, enableGraphics bool, theme save.Theme, displayManager DisplayManager) *Replacer
Click to show internal directories.
Click to hide internal directories.