alert

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Methods

func Methods() []string

func ModuleName

func ModuleName() string

Types

type Alert

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

func New

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

func (*Alert) GetLoader

func (a *Alert) GetLoader(s *script.Script) lua.LGFunction

func (*Alert) Name

func (a *Alert) Name() string

func (*Alert) Stop

func (a *Alert) Stop() error

type ChManager

type ChManager interface {
	Send(a *alert.Alert, text string, options *alert.Options)
}

Jump to

Keyboard shortcuts

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