Documentation
¶
Index ¶
Constants ¶
View Source
const (
MsgBufferLen = 100
)
View Source
const MsgrRoot = "/irc-msgr"
View Source
const Root = "/np"
Variables ¶
View Source
var (
IRCThrottleWindow = 1 * time.Second
)
Functions ¶
func RunIRCAgent ¶
func RunIRCAgent(c *Config, ch chan IRCMessage)
Types ¶
type Config ¶
type Config struct { BaseURL string `yaml:"base_url"` Listen string `yaml:"listen"` DataDir string `yaml:"data_dir"` IRC IRCConfig `yaml:"irc"` // contains filtered or unexported fields }
func LoadConfig ¶
func (*Config) AddChannel ¶
func (*Config) DataFilePath ¶
func (*Config) SetFilePath ¶
type IRCMessage ¶
Click to show internal directories.
Click to hide internal directories.