app

package
v4.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2021 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Diun

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

Diun represents an active diun object

func New

func New(meta model.Meta, cli model.Cli, cfg *config.Config) (*Diun, error)

New creates new diun instance

func (*Diun) Close

func (di *Diun) Close()

Close closes diun

func (*Diun) HealthchecksFail added in v4.6.0

func (di *Diun) HealthchecksFail(logs string)

func (*Diun) HealthchecksStart added in v4.6.0

func (di *Diun) HealthchecksStart()

func (*Diun) HealthchecksSuccess added in v4.6.0

func (di *Diun) HealthchecksSuccess(entries *model.NotifEntries)

func (*Diun) Run

func (di *Diun) Run()

Run starts diun

func (*Diun) Start

func (di *Diun) Start() error

Start starts diun

func (*Diun) TestNotif

func (di *Diun) TestNotif()

TestNotif test the notification settings

Jump to

Keyboard shortcuts

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