idlealarm

package
v0.0.0-...-8cc84bd Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2020 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package idlealarm implements alarm modification on idle alarm.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	Process()
}

Service interface is used to implement alarms modification by idle rules.

func NewService

func NewService(
	ruleAdapter idlerule.RuleAdapter,
	alarmAdapter alarmlib.Adapter,
	executor operation.Executor,
	logger zerolog.Logger,
) Service

NewService creates new service.

Jump to

Keyboard shortcuts

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