client

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2023 License: MIT Imports: 8 Imported by: 0

README

seabird-datadog-plugin

Seabird plugin to send chat metrics to Datadog

Inspired by pisg, this plugin generates metrics from messages sent to IRC rooms that seabird is in.

Requirements

  • Running datadog-agent progress with dogstatsd enabled
  • Environment variables SEABIRD_HOST, SEABIRD_TOKEN, and DOGSTATSD_ENDPOINT configured

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Swears

func Swears() []string

Swears returns a list of nasty words sourced from https://github.com/RobertJGabriel/Google-profanity-words

Types

type SeabirdClient

type SeabirdClient struct {
	*seabird.Client
	// contains filtered or unexported fields
}

SeabirdClient is a basic client for seabird

func NewSeabirdClient

func NewSeabirdClient(seabirdCoreURL, seabirdCoreToken, dogstatsdEndpoint string) (*SeabirdClient, error)

NewSeabirdClient returns a new seabird client

func (*SeabirdClient) Run

func (c *SeabirdClient) Run() error

Run runs

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL