Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EndpointMetricsName ¶
func LoggingName ¶
func NormalizePath ¶
Types ¶
type Client ¶
type Client struct {
Client api.WriteAPI
Counts func() (guilds, channels, roles, messages int64, timeTaken time.Duration)
// contains filtered or unexported fields
}
Client is an InfluxDB client
func (*Client) EventHandler ¶
func (c *Client) EventHandler(ev interface{})
EventHandler handles Arikawa events
func (*Client) IncCommand ¶
func (c *Client) IncCommand()
IncCommand increments the command count by one
func (*Client) IncHTTPRequest ¶
func (*Client) IncRequests ¶
func (*Client) RegisterEvent ¶
RegisterEvent registers an event name. Separate from EventHandler to allow us to log our own, custom events (currently: nick update + kick)
Click to show internal directories.
Click to hide internal directories.