Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( InvalidModuleError = errors.New("Invalid module") IllegalModuleNameError = errors.New("Illegal module name") )
Functions ¶
func RegisterNativeModule ¶
func RegisterNativeModule(name string, loader ModuleLoader)
Types ¶
type Registry ¶
Registry contains a cache of compiled modules which can be used by multiple Runtimes
func NewRegistryWithLoader ¶
func NewRegistryWithLoader(srcLoader SourceLoader) *Registry
type RequireModule ¶
type RequireModule struct {
// contains filtered or unexported fields
}
type SourceLoader ¶
Click to show internal directories.
Click to hide internal directories.