activeruling

package
v0.0.0-...-f876671 Latest Latest
Warning

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

Go to latest
Published: May 29, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadAndExecuteFowInstructions

func ReadAndExecuteFowInstructions(a ...interface{})

Types

type Action

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

func (*Action) DBManager

func (acn *Action) DBManager() *lnksworks.DbManager

type ActionHandler

type ActionHandler = func(action *Action, step *Step, flow *Flow) (nxtaction *Action)

type Flow

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

func NewFlow

func NewFlow(name string, interval time.Duration) (flw *Flow)

func (*Flow) DBManager

func (flw *Flow) DBManager() *lnksworks.DbManager

type FlowHandler

type FlowHandler = func(flow *Flow) (nxtflow *Flow)

type Schedule

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

func FindSchedule

func FindSchedule(schdlname string) (schdl *Schedule)

func RegisterSchedule

func RegisterSchedule(schdlname string, monduration time.Duration, actions ...func(string, time.Time)) (schdl *Schedule)

func (*Schedule) DisableSchedule

func (schdl *Schedule) DisableSchedule()

func (*Schedule) EnableSchedule

func (schdl *Schedule) EnableSchedule()

type Step

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

func (*Step) DBManager

func (stp *Step) DBManager() *lnksworks.DbManager

type StepHandler

type StepHandler = func(step *Step, flow *Flow) (nxtstep *Step)

Jump to

Keyboard shortcuts

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