output

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Grafana

type Grafana struct {
	// contains filtered or unexported fields
}

func NewGrafana

func NewGrafana(url string, apiKey string) (*Grafana, error)

func (*Grafana) Send

func (g *Grafana) Send(e *common.Event) ([]byte, error)

type Output

type Output interface {
	Send(event *common.Event) ([]byte, error)
}

type Slack

type Slack struct {
	// contains filtered or unexported fields
}

func NewSlack

func NewSlack(token string, channel string) (*Slack, error)

func (*Slack) Send

func (s *Slack) Send(e *common.Event) ([]byte, error)

type Stdout

type Stdout struct {
}

func NewStdout

func NewStdout() *Stdout

func (*Stdout) Send

func (s *Stdout) Send(e *common.Event) ([]byte, error)

Jump to

Keyboard shortcuts

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