ottojs

package
v0.0.0-...-c73c86c Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2014 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register()

Types

type RuntimeEngine

type RuntimeEngine struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*RuntimeEngine) CallModule

func (r *RuntimeEngine) CallModule(name, function string, args []interface{}) (interface{}, error)

func (*RuntimeEngine) FileExtension

func (r *RuntimeEngine) FileExtension() string

func (*RuntimeEngine) InitModule

func (r *RuntimeEngine) InitModule(name, source string, globals map[string]interface{}) error

func (*RuntimeEngine) UpdateGlobals

func (r *RuntimeEngine) UpdateGlobals(globals map[string]interface{})

Jump to

Keyboard shortcuts

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