Documentation ¶
Overview ¶
Package irc implements IRC handlers for github.com/go-chat-bot/bot
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Server string // IRC server:port. Ex: ircevent.freenode.org:7000 Channels []string // Channels to connect. Ex: []string{"#go-bot", "#channel mypassword"} User string // The IRC username the bot will use Nick string // The nick the bot will use Password string // Server password UseTLS bool // Should connect using TLS? TLSServerName string // Must supply if UseTLS is true Debug bool // This will log all IRC communication to standad output }
Config must contain the necessary data to connect to an IRC server
Click to show internal directories.
Click to hide internal directories.