Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultNameColor = "#1E90FF" //Dodger Blue UserHighlightColor = "#6441A5" //Twitch purple )
Variables ¶
View Source
var (
UserHighLightStyle = lipgloss.NewStyle().Bold(true).Background(lipgloss.Color(UserHighlightColor))
)
Functions ¶
This section is empty.
Types ¶
type IRC ¶
type IRC interface { OnPrivateMessage(func(types.PrivateMessage)) Say(string, string) // channel, message }
type IRCService ¶
type IRCService struct {
// contains filtered or unexported fields
}
func NewIRCService ¶
func NewIRCService(displayName string, channel string, irc IRC) IRCService
func (IRCService) GetMessageSource ¶
func (c IRCService) GetMessageSource() <-chan types.Message
func (IRCService) Publish ¶
func (c IRCService) Publish(msg string)
Click to show internal directories.
Click to hide internal directories.