Documentation ¶
Overview ¶
Package irc is an IRC-over-websocket client implementation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶ added in v0.2.0
A Conn is an IRC connection.
type Dialer ¶ added in v0.3.0
type Dialer interface { // Dial connects with a given context. The context does not (only) govern // the Dial itself, but also the established connection. Dial(context.Context) (Conn, error) }
Dialer is a preconfigured IRC connector.
type Message ¶
type Message struct { Tags map[string]string `json:"tags"` Source string `json:"source"` Command string `json:"command"` Args []string `json:"args"` HasTrailer bool `json:"trailer,omitempty"` // Useful to know.. usually // contains filtered or unexported fields }
func (*Message) Arg ¶
Arg returns the given argument, even if it is not set.
type TLSConfig ¶ added in v0.3.0
TLSConfig is a TLSOpt for specifying a tls.Config.
type TLSOpt ¶ added in v0.3.0
type TLSOpt interface {
// contains filtered or unexported methods
}
Click to show internal directories.
Click to hide internal directories.