goscript

package
v0.0.0-...-86952cd Latest Latest
Warning

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

Go to latest
Published: May 30, 2025 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoEngine

type GoEngine struct {
	BaseProcesser
	// contains filtered or unexported fields
}

func NewDefaultGoEngine

func NewDefaultGoEngine() (s *GoEngine, err error)

func NewGoEngine

func NewGoEngine(symbol string) (s *GoEngine, err error)

func (*GoEngine) AddScript

func (s *GoEngine) AddScript(name, src, param string) (err error)

func (*GoEngine) Init

func (s *GoEngine) Init(bus *Bus) (err error)

func (*GoEngine) RemoveScript

func (s *GoEngine) RemoveScript(name string) (err error)

func (*GoEngine) ScriptCount

func (s *GoEngine) ScriptCount() int

func (*GoEngine) SetStatusCh

func (s *GoEngine) SetStatusCh(ch chan *Status)

func (*GoEngine) Start

func (s *GoEngine) Start() (err error)

func (*GoEngine) Stop

func (s *GoEngine) Stop() (err error)

type Status

type Status struct {
	Name   string
	Status int
	Msg    string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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