package
1.3.1
Repository: https://github.com/fluffle/goirc.git
Documentation: pkg.go.dev

# Functions

Client takes a Config struct and returns a new Conn ready to have handlers added and connect to a server.
Because networks limit nick lengths, the easy approach of appending an '_' to a nick that is already in use can cause problems.
NewConfig creates a Config struct containing sensible defaults.
ParseLine creates a Line from an incoming message from the IRC server.
SimpleClient creates a new Conn, passing its arguments to NewConfig.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Config contains options that can be passed to Client to change the behaviour of the library during use.
Conn encapsulates a connection to a single IRC server.
We parse an incoming line into this struct.

# Interfaces

Handlers are triggered on incoming Lines from the server, with the handler "name" being equivalent to Line.Cmd.
Removers allow for a handler that has been previously added to the client to be removed.

# Type aliases

HandlerFunc allows a bare function with this signature to implement the Handler interface.