function
package v1.5.1
Go to latest Published: Jun 20, 2023 License:MIT
Opens a new window with list of versions in this module.
Latest LatestThis package is not in the latest version of its module.
Opens a new window with license information.
Imports:17 Opens a new window with list of imports.
Imported by:0 Opens a new window with list of known importers.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
Constants¶
This section is empty.
Variables¶
This section is empty.
Functions¶
This section is empty.
Types¶
typeExecutionEnvironment¶
type ExecutionEnvironment struct {Authmodel.AuthBaseNamestringDataStoredatabase.PersisterVolatilecache.VolatilizerEmailemail.MailerSearch *search.SearchDatamodel.ExecDataCurrentRunmodel.ExecHistoryLog *logger.Logger}func (*ExecutionEnvironment)Execute¶
func (env *ExecutionEnvironment) Execute(data interface{})error
typeHTTPResponse¶added inv1.4.0
typeJSFetchOptionsArg¶added inv1.4.0
type JSFetchOptionsArg struct {MethodstringHeaders map[string]stringBodystringModestringCredentialsstringCachestringRedirectstringReferrerstringReferrerPolicystringIntegritystringKeepalivestringSignalstring}funcNewJSFetcthOptionArg¶added inv1.4.0
func NewJSFetcthOptionArg()JSFetchOptionsArg
typeJSSendMailArg¶added inv1.5.0
typeSubscriber¶
type Subscriber struct {PubSubcache.VolatilizerGetExecEnv func(msgmodel.Command) (*ExecutionEnvironment,error)Log *logger.LoggerIsPrimaryInstancebool// contains filtered or unexported fields}func (*Subscriber)Start¶
func (sub *Subscriber) Start()
Start starts the system event subscription.This channel is responsible of executing functions that match thetopic/trigger
typeTaskScheduler¶
type TaskScheduler struct {Volatilecache.VolatilizerDataStoredatabase.PersisterSearch *search.SearchEmailemail.MailerLog *logger.LoggerScheduler *gocron.Scheduler}func (*TaskScheduler)AddOnTheFly¶added inv1.5.0
func (ts *TaskScheduler) AddOnTheFly(taskmodel.Task)
func (*TaskScheduler)CancelTask¶added inv1.5.0
func (ts *TaskScheduler) CancelTask(idstring)error
func (*TaskScheduler)Start¶
func (ts *TaskScheduler) Start()
Click to show internal directories.
Click to hide internal directories.