module

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Console

type Console struct {
	// contains filtered or unexported fields
}

func NewConsoleModule added in v0.1.3

func NewConsoleModule(vm IWrappedVm) *Console

func (*Console) Log

func (c *Console) Log(data ...interface{})

type IWrappedVm

type IWrappedVm interface {
	RegisterModule(moduleName string, module interface{}) error
	ToValue(i interface{}) goja.Value
	Logger() go_logger.InterfaceLogger
}

type Regex

type Regex struct {
	// contains filtered or unexported fields
}

func NewRegexModule added in v0.1.3

func NewRegexModule(vm IWrappedVm) *Regex

func (*Regex) Match

func (r *Regex) Match(pattern string, targetStr string) bool

Jump to

Keyboard shortcuts

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