Documentation
¶
Overview ¶
Package irc implements a simple irc client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Handler *Events
Options *ClientOptions
// contains filtered or unexported fields
}
type ClientOptions ¶
type ClientOptions struct {
Host string `required:"true"`
Ident string `required:"true"`
Nickname string `required:"true"`
Password string
Port string `required:"true"`
Realname string `required:"true"`
EnableProfiler bool `split_words:"true"`
EnableTLS bool `split_words:"true"`
}
ClientOptions supports optionally populating the struct using env vars. See https://github.com/kelseyhightower/envconfig#struct-tag-support
type Events ¶
type Events struct {
// contains filtered or unexported fields
}
func NewEventHandler ¶
func NewEventHandler() *Events
Click to show internal directories.
Click to hide internal directories.