irc

package
v0.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL