Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(configInterface interface{}, db *database.DB, bot *bot.Bot) output.Output

Types

type Output

type Output struct {
	output.Output
	// contains filtered or unexported fields
}

func (*Output) Default

func (out *Output) Default() []*database.Notify

func (*Output) Send

func (out *Output) Send(e *log.Entry, to *database.Notify) bool

type OutputConfig

type OutputConfig struct {
	Directory string `mapstructure:"directory"`
	Default   string `mapstructure:"default"`
}

Source Files