Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { NetworkConfiguration // contains filtered or unexported fields }
Client stores connection information and metadata for a connection to an IRC network.
func NewClient ¶
func NewClient(baseDir string, cfg NetworkConfiguration) *Client
type NetworkConfiguration ¶
type NetworkConfiguration struct { Name string `json:"name"` Host string `json:"host"` Port int `json:"port"` IsTLS bool `json:"is_tls"` SkipCertificateCheck bool `json:"skip_certificate_check,omitempty"` Nick string `json:"nick"` RealName string `json:"real_name"` ServerPass string `json:"server_pass,omitempty"` OnConnect []string `json:"on_connect"` RejoinExisting bool `json:"rejoin_existing"` }
NetworkConfiguration contains the configuration for a connection to a single IRC network. Used by Client.
Click to show internal directories.
Click to hide internal directories.