actions

package
v1.0.0-dev Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2025 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionS

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

ActionS manages exection of Actions

func NewActionS

func NewActionS(cfg *config.CGRConfig, fltrS *engine.FilterS, dm *engine.DataManager, connMgr *engine.ConnManager) (aS *ActionS)

NewActionS instantiates the ActionS

func (*ActionS) ListenAndServe

func (aS *ActionS) ListenAndServe(stopChan, cfgRld chan struct{})

ListenAndServe keeps the service alive

func (*ActionS) Shutdown

func (aS *ActionS) Shutdown()

Shutdown is called to shutdown the service

func (*ActionS) V1ExecuteActions

func (aS *ActionS) V1ExecuteActions(ctx *context.Context, args *utils.CGREvent, rpl *string) (err error)

V1ExecuteActions will be called to execute ASAP action profiles, ignoring their Schedule field

func (*ActionS) V1ScheduleActions

func (aS *ActionS) V1ScheduleActions(ctx *context.Context, args *utils.CGREvent, rpl *string) (err error)

V1ScheduleActions will be called to schedule actions matching the arguments

Jump to

Keyboard shortcuts

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