logger

package
v0.0.0-...-784cda0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2018 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Alerts = parseConfig()
View Source
var Log = logging.MustGetLogger("keyserver")

Functions

func Init

func Init()

Init sets up the logger

Types

type AlertConfig

type AlertConfig struct {
	SlackWebhookURL string
	SMTPServer      string
	SMTPPort        int
	MailFrom        string
	Password        string
	MailTo          string
}

func (*AlertConfig) SendAlerts

func (ac *AlertConfig) SendAlerts(message string)

Jump to

Keyboard shortcuts

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