notification

package
v0.0.0-...-a6e6698 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(model config.ModelConfig, backupPath string, laporan Report) (archivePath string, err error)

Run notification

Types

type Base

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

Base notification

type Context

type Context interface {
	// contains filtered or unexported methods
}

Context notification

type Report

type Report struct {
	StartTime     time.Time
	EndTime       time.Time
	Duration      string
	MessageString string
	BackupStatus  string
}

type Slack

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

notification

type: slack

Jump to

Keyboard shortcuts

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