goscript

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: BSD-3-Clause Imports: 12 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 added in v0.0.6

func (s *GoEngine) ScriptCount() int

func (*GoEngine) SetStatusCh added in v0.0.6

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 added in v0.0.6

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