output

package
v0.0.0-...-29fb1c0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2019 License: MIT Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Register = make(map[string]Init)

Functions

func Add

func Add(name string, init Init)

Types

type Init

type Init func(interface{}, *database.DB, *bot.Bot) Output

type Output

type Output interface {
	Default() []*database.Notify
	Send(entry *log.Entry, to *database.Notify) bool
	Close()
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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