Movatterモバイル変換


[0]ホーム

URL:


function

package
v1.5.1Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License:MITImports:17Imported by:0

Details

Repository

github.com/staticbackendhq/core

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

typeHTTPResponseadded inv1.4.0

type HTTPResponse struct {Statusint    `json:"status"`Bodystring `json:"body"`}

typeJSFetchOptionsArgadded inv1.4.0

type JSFetchOptionsArg struct {MethodstringHeaders        map[string]stringBodystringModestringCredentialsstringCachestringRedirectstringReferrerstringReferrerPolicystringIntegritystringKeepalivestringSignalstring}

funcNewJSFetcthOptionArgadded inv1.4.0

func NewJSFetcthOptionArg()JSFetchOptionsArg

typeJSSendMailArgadded inv1.5.0

type JSSendMailArg struct {Fromstring `json:"from"`Tostring `json:"to"`Subjectstring `json:"subject"`HTMLBodystring `json:"htmlBody"`TextBodystring `json:"textBody"`}

typeResult

type Result struct {OKbool        `json:"ok"`Content interface{} `json:"content"`}

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)AddOnTheFlyadded inv1.5.0

func (ts *TaskScheduler) AddOnTheFly(taskmodel.Task)

func (*TaskScheduler)CancelTaskadded inv1.5.0

func (ts *TaskScheduler) CancelTask(idstring)error

func (*TaskScheduler)Start

func (ts *TaskScheduler) Start()

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp