alert

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Methods

func Methods() []string

Methods returns module methods

func ModuleName

func ModuleName() string

ModuleName returns the module name

Types

type Alert

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

Alert represents alert core module

func New

func New(storage corestorage.Alert, chManager chManager, logger *zap.Logger) *Alert

New create new Alert core module

func (*Alert) CoreApiHandler added in v0.10.0

func (a *Alert) CoreApiHandler(method string, parts []string, params map[string]string, body []byte) (any, int, error)

func (*Alert) GetLoader

func (a *Alert) GetLoader(j modules.Job) lua.LGFunction

GetLoader returns the lua loader

func (*Alert) Name

func (a *Alert) Name() string

Name returns the module name

func (*Alert) Stop

func (a *Alert) Stop() error

Stop the module

Jump to

Keyboard shortcuts

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