Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConfigParentDir = ".config" ConfigDir = "tasker" ConfigUseDir = "use" ConfigTaskerJsFilename = "tasker.js" DefaultTask = "default" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaskContext ¶ added in v1.2.0
type TaskContext struct { context.Context VM *goja.Runtime // contains filtered or unexported fields }
func (*TaskContext) GetOriCall ¶ added in v1.2.0
func (c *TaskContext) GetOriCall() *goja.FunctionCall
func (*TaskContext) GetVM ¶ added in v1.2.0
func (c *TaskContext) GetVM() *goja.Runtime
func (*TaskContext) RunTask ¶ added in v1.2.0
func (c *TaskContext) RunTask(name string)
func (*TaskContext) SetRetVal ¶ added in v1.2.0
func (c *TaskContext) SetRetVal(val goja.Value)
Click to show internal directories.
Click to hide internal directories.