drainer

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Drainer

type Drainer interface {
	Drain(message string) error
}

type GitHubDrainer

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

func NewGitHubDrainer

func NewGitHubDrainer() (*GitHubDrainer, error)

func (GitHubDrainer) Drain

func (d GitHubDrainer) Drain(message string) error

type SlackDrainer added in v0.2.0

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

func NewSlackDrainer added in v0.2.0

func NewSlackDrainer() (*SlackDrainer, error)

func (SlackDrainer) Drain added in v0.2.0

func (d SlackDrainer) Drain(message string) error

Jump to

Keyboard shortcuts

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