Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidFuncOpts = errorutil.NewWithFmt("invalid function options: %v")
)
Functions ¶
Types ¶
type GojaModule ¶
type GojaModule struct {
// contains filtered or unexported fields
}
func (*GojaModule) Enable ¶
func (p *GojaModule) Enable(runtime Runtime)
func (*GojaModule) Name ¶
func (p *GojaModule) Name() string
func (*GojaModule) Register ¶
func (p *GojaModule) Register() Module
func (*GojaModule) Require ¶
func (p *GojaModule) Require(runtime *goja.Runtime, module *goja.Object)
func (*GojaModule) Set ¶
func (p *GojaModule) Set(objects Objects) Module
func (*GojaModule) String ¶
func (p *GojaModule) String() string
Click to show internal directories.
Click to hide internal directories.