Documentation ¶
Overview ¶
Package irc provides a specialised IRC client designed for gathering statistics only.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct { Server string // contains filtered or unexported fields }
func (*Client) Start ¶
func (c *Client) Start()
Start manages a connection to the server. It does not return (run it in a goroutine).
func (*Client) Stats ¶
func (c *Client) Stats(s StatsRequest) StatsResponse
type CommandStats ¶
type CommandStats struct {
Count, Bytes, RemoteCount int
}
type Options ¶
Options specifies the parameters for a client, can be created by Flags which parses a set of flags, or by other means.
type ServerStats ¶
type StatsRequest ¶
type StatsResponse ¶
Click to show internal directories.
Click to hide internal directories.