Documentation ¶
Index ¶
- Variables
- func AllModuleNames() []string
- func FuncAFFFFFFR(fn func(float64, float64, float64, float64, float64, float64)) tender.CallableFunc
- func FuncAFFFFFR(fn func(float64, float64, float64, float64, float64)) tender.CallableFunc
- func FuncAFFFFR(fn func(float64, float64, float64, float64)) tender.CallableFunc
- func FuncAFFFR(fn func(float64, float64, float64)) tender.CallableFunc
- func FuncAFFR(fn func(float64, float64)) tender.CallableFunc
- func FuncAFFRF(fn func(float64, float64) float64) tender.CallableFunc
- func FuncAFFRFF(fn func(float64, float64) (float64, float64)) tender.CallableFunc
- func FuncAFIRB(fn func(float64, int) bool) tender.CallableFunc
- func FuncAFIRF(fn func(float64, int) float64) tender.CallableFunc
- func FuncAFR(fn func(float64)) tender.CallableFunc
- func FuncAFRB(fn func(float64) bool) tender.CallableFunc
- func FuncAFRF(fn func(float64) float64) tender.CallableFunc
- func FuncAFRI(fn func(float64) int) tender.CallableFunc
- func FuncAI64IRI64E(fn func(int64, int) (int64, error)) tender.CallableFunc
- func FuncAI64R(fn func(int64)) tender.CallableFunc
- func FuncAI64RI64(fn func(int64) int64) tender.CallableFunc
- func FuncAIFRF(fn func(int, float64) float64) tender.CallableFunc
- func FuncAIIIIR(fn func(int, int, int, int)) tender.CallableFunc
- func FuncAIIIR(fn func(int, int, int)) tender.CallableFunc
- func FuncAIIR(fn func(int, int)) tender.CallableFunc
- func FuncAIIRE(fn func(int, int) error) tender.CallableFunc
- func FuncAIR(fn func(int)) tender.CallableFunc
- func FuncAIRF(fn func(int) float64) tender.CallableFunc
- func FuncAIRIs(fn func(int) []int) tender.CallableFunc
- func FuncAIRS(fn func(int) string) tender.CallableFunc
- func FuncAIRSsE(fn func(int) ([]string, error)) tender.CallableFunc
- func FuncAR(fn func()) tender.CallableFunc
- func FuncARB(fn func() bool) tender.CallableFunc
- func FuncARE(fn func() error) tender.CallableFunc
- func FuncARF(fn func() float64) tender.CallableFunc
- func FuncARI(fn func() int) tender.CallableFunc
- func FuncARI64(fn func() int64) tender.CallableFunc
- func FuncARI64E(fn func() (int64, error)) tender.CallableFunc
- func FuncARIsE(fn func() ([]int, error)) tender.CallableFunc
- func FuncARS(fn func() string) tender.CallableFunc
- func FuncARSE(fn func() (string, error)) tender.CallableFunc
- func FuncARSs(fn func() []string) tender.CallableFunc
- func FuncARYE(fn func() ([]byte, error)) tender.CallableFunc
- func FuncARu8(fn func() uint8) tender.CallableFunc
- func FuncASFFFFR(fn func(string, float64, float64, float64, float64)) tender.CallableFunc
- func FuncASFFR(fn func(string, float64, float64)) tender.CallableFunc
- func FuncASFRE(fn func(string, float64) error) tender.CallableFunc
- func FuncASFRFF(fn func(string, float64) (float64, float64)) tender.CallableFunc
- func FuncASFRSs(fn func(string, float64) []string) tender.CallableFunc
- func FuncASI64RE(fn func(string, int64) error) tender.CallableFunc
- func FuncASIIRE(fn func(string, int, int) error) tender.CallableFunc
- func FuncASIRS(fn func(string, int) string) tender.CallableFunc
- func FuncASR(fn func(string)) tender.CallableFunc
- func FuncASRB(fn func(string) bool) tender.CallableFunc
- func FuncASRE(fn func(string) error) tender.CallableFunc
- func FuncASRFF(fn func(string) (float64, float64)) tender.CallableFunc
- func FuncASRI(fn func(string) int) tender.CallableFunc
- func FuncASRIE(fn func(string) (int, error)) tender.CallableFunc
- func FuncASRS(fn func(string) string) tender.CallableFunc
- func FuncASRSE(fn func(string) (string, error)) tender.CallableFunc
- func FuncASRSs(fn func(string) []string) tender.CallableFunc
- func FuncASRYE(fn func(string) ([]byte, error)) tender.CallableFunc
- func FuncASSIRSs(fn func(string, string, int) []string) tender.CallableFunc
- func FuncASSRB(fn func(string, string) bool) tender.CallableFunc
- func FuncASSRE(fn func(string, string) error) tender.CallableFunc
- func FuncASSRI(fn func(string, string) int) tender.CallableFunc
- func FuncASSRS(fn func(string, string) string) tender.CallableFunc
- func FuncASSRSs(fn func(string, string) []string) tender.CallableFunc
- func FuncASsSRS(fn func([]string, string) string) tender.CallableFunc
- func FuncATRE(fn func(time.Time) error) tender.CallableFunc
- func FuncAYFRE(fn func([]byte, float64) error) tender.CallableFunc
- func FuncAYI64RIE(fn func([]byte, int64) (int, error)) tender.CallableFunc
- func FuncAYRIE(fn func([]byte) (int, error)) tender.CallableFunc
- func FuncAYRS(fn func([]byte) string) tender.CallableFunc
- func FuncAf64iiR(fn func(float64, int, int)) tender.CallableFunc
- func FuncAuIR(fn func(uint)) tender.CallableFunc
- func GetModuleMap(names ...string) *tender.ModuleMap
- type Gob
- type IOReader
- type IOWriter
Constants ¶
This section is empty.
Variables ¶
var BuiltinModules = map[string]map[string]tender.Object{
"math": mathModule,
"os": osModule,
"strings": stringsModule,
"times": timesModule,
"rand": randModule,
"fmt": fmtModule,
"json": jsonModule,
"base64": base64Module,
"hex": hexModule,
"colors": colorsModule,
"gzip": gzipModule,
"zip": zipModule,
"tar": tarModule,
"bufio": bufioModule,
"crypto": cryptoModule,
"path": pathModule,
"image": imageModule,
"canvas": canvasModule,
"dll": dllModule,
"io": ioModule,
"audio": audioModule,
"net": netModule,
"http": httpModule,
"websocket": websocketModule,
"gob": gobModule,
"csv": csvModule,
}
BuiltinModules are builtin type standard library modules.
Functions ¶
func AllModuleNames ¶
func AllModuleNames() []string
AllModuleNames returns a list of all default module names.
func FuncAFFFFFFR ¶
func FuncAFFFFFFR(fn func(float64, float64, float64, float64, float64, float64)) tender.CallableFunc
FuncAFFFFFFR transform a function of 'func(float64, float64, float64, float64, float64, float64)' signature into CallableFunc type.
func FuncAFFFFFR ¶
FuncAFFFFFR transform a function of 'func(float64, float64, float64, float64, float64)' signature into CallableFunc type.
func FuncAFFFFR ¶
FuncAFFFFR transform a function of 'func(float64, float64, float64, float64)' signature into CallableFunc type.
func FuncAFFFR ¶
func FuncAFFFR(fn func(float64, float64, float64)) tender.CallableFunc
FuncAFFFR transform a function of 'func(float64, float64, float64)' signature into CallableFunc type.
func FuncAFFR ¶
func FuncAFFR(fn func(float64, float64)) tender.CallableFunc
FuncAFFR transform a function of 'func(float64, float64)' signature into CallableFunc type.
func FuncAFFRF ¶
func FuncAFFRF(fn func(float64, float64) float64) tender.CallableFunc
FuncAFFRF transform a function of 'func(float64, float64) float64' signature into CallableFunc type.
func FuncAFFRFF ¶
FuncAFFRFF transform a function of 'func(float64, float64) (float64, float64)' signature into CallableFunc type.
func FuncAFIRB ¶
func FuncAFIRB(fn func(float64, int) bool) tender.CallableFunc
FuncAFIRB transform a function of 'func(float64, int) bool' signature into CallableFunc type.
func FuncAFIRF ¶
func FuncAFIRF(fn func(float64, int) float64) tender.CallableFunc
FuncAFIRF transform a function of 'func(float64, int) float64' signature into CallableFunc type.
func FuncAFR ¶
func FuncAFR(fn func(float64)) tender.CallableFunc
FuncAFR transform a function of 'func(float64)' signature into CallableFunc type.
func FuncAFRB ¶
func FuncAFRB(fn func(float64) bool) tender.CallableFunc
FuncAFRB transform a function of 'func(float64) bool' signature into CallableFunc type.
func FuncAFRF ¶
func FuncAFRF(fn func(float64) float64) tender.CallableFunc
FuncAFRF transform a function of 'func(float64) float64' signature into CallableFunc type.
func FuncAFRI ¶
func FuncAFRI(fn func(float64) int) tender.CallableFunc
FuncAFRI transform a function of 'func(float64) int' signature into CallableFunc type.
func FuncAI64IRI64E ¶
func FuncAI64R ¶
func FuncAI64R(fn func(int64)) tender.CallableFunc
FuncAI64R transform a function of 'func(int64)' signature into CallableFunc type.
func FuncAI64RI64 ¶
func FuncAI64RI64(fn func(int64) int64) tender.CallableFunc
FuncAI64RI64 transform a function of 'func(int64) int64' signature into CallableFunc type.
func FuncAIFRF ¶
func FuncAIFRF(fn func(int, float64) float64) tender.CallableFunc
FuncAIFRF transform a function of 'func(int, float64) float64' signature into CallableFunc type.
func FuncAIIIIR ¶
func FuncAIIR ¶
func FuncAIIR(fn func(int, int)) tender.CallableFunc
FuncAIIR transform a function of 'func(int, int)' signature into CallableFunc type.
func FuncAIIRE ¶
func FuncAIIRE(fn func(int, int) error) tender.CallableFunc
FuncAIIRE transform a function of 'func(int, int) error' signature into CallableFunc type.
func FuncAIR ¶
func FuncAIR(fn func(int)) tender.CallableFunc
FuncAIR transform a function of 'func(int)' signature into CallableFunc type.
func FuncAIRF ¶
func FuncAIRF(fn func(int) float64) tender.CallableFunc
FuncAIRF transform a function of 'func(int) float64' signature into CallableFunc type.
func FuncAIRIs ¶
func FuncAIRIs(fn func(int) []int) tender.CallableFunc
FuncAIRIs transform a function of 'func(int) []int' signature into CallableFunc type.
func FuncAIRS ¶
func FuncAIRS(fn func(int) string) tender.CallableFunc
FuncAIRS transform a function of 'func(int) string' signature into CallableFunc type.
func FuncAIRSsE ¶
func FuncAIRSsE(fn func(int) ([]string, error)) tender.CallableFunc
FuncAIRSsE transform a function of 'func(int) ([]string, error)' signature into CallableFunc type.
func FuncAR ¶
func FuncAR(fn func()) tender.CallableFunc
FuncAR transform a function of 'func()' signature into CallableFunc type.
func FuncARB ¶
func FuncARB(fn func() bool) tender.CallableFunc
FuncARB transform a function of 'func() bool' signature into CallableFunc type.
func FuncARE ¶
func FuncARE(fn func() error) tender.CallableFunc
FuncARE transform a function of 'func() error' signature into CallableFunc type.
func FuncARF ¶
func FuncARF(fn func() float64) tender.CallableFunc
FuncARF transform a function of 'func() float64' signature into CallableFunc type.
func FuncARI ¶
func FuncARI(fn func() int) tender.CallableFunc
FuncARI transform a function of 'func() int' signature into CallableFunc type.
func FuncARI64 ¶
func FuncARI64(fn func() int64) tender.CallableFunc
FuncARI64 transform a function of 'func() int64' signature into CallableFunc type.
func FuncARI64E ¶
func FuncARI64E(fn func() (int64, error)) tender.CallableFunc
func FuncARIsE ¶
func FuncARIsE(fn func() ([]int, error)) tender.CallableFunc
FuncARIsE transform a function of 'func() ([]int, error)' signature into CallableFunc type.
func FuncARS ¶
func FuncARS(fn func() string) tender.CallableFunc
FuncARS transform a function of 'func() string' signature into CallableFunc type.
func FuncARSE ¶
func FuncARSE(fn func() (string, error)) tender.CallableFunc
FuncARSE transform a function of 'func() (string, error)' signature into CallableFunc type.
func FuncARSs ¶
func FuncARSs(fn func() []string) tender.CallableFunc
FuncARSs transform a function of 'func() []string' signature into CallableFunc type.
func FuncARYE ¶
func FuncARYE(fn func() ([]byte, error)) tender.CallableFunc
FuncARYE transform a function of 'func() ([]byte, error)' signature into CallableFunc type.
func FuncARu8 ¶
func FuncARu8(fn func() uint8) tender.CallableFunc
func FuncASFFFFR ¶
func FuncASFFR ¶
func FuncASFFR(fn func(string, float64, float64)) tender.CallableFunc
FuncASFFR transform a function of 'func(string, float, float)' signature into CallableFunc type. User function will return 'true' if underlying native function returns nil.
func FuncASFRFF ¶
func FuncASFRSs ¶
func FuncASFRSs(fn func(string, float64) []string) tender.CallableFunc
FuncARSs transform a function of 'func() []string' signature into CallableFunc type.
func FuncASI64RE ¶
func FuncASI64RE(fn func(string, int64) error) tender.CallableFunc
FuncASI64RE transform a function of 'func(string, int64) error' signature into CallableFunc type.
func FuncASIIRE ¶
FuncASIIRE transform a function of 'func(string, int, int) error' signature into CallableFunc type.
func FuncASIRS ¶
func FuncASIRS(fn func(string, int) string) tender.CallableFunc
FuncASIRS transform a function of 'func(string, int) string' signature into CallableFunc type.
func FuncASR ¶
func FuncASR(fn func(string)) tender.CallableFunc
FuncASR transform a function of 'func(string)' signature native function returns nil.
func FuncASRE ¶
func FuncASRE(fn func(string) error) tender.CallableFunc
FuncASRE transform a function of 'func(string) error' signature into CallableFunc type. User function will return 'true' if underlying native function returns nil.
func FuncASRI ¶
func FuncASRI(fn func(string) int) tender.CallableFunc
FuncASRI transform a function of 'func(string) (int)' signature into CallableFunc type.
func FuncASRIE ¶
func FuncASRIE(fn func(string) (int, error)) tender.CallableFunc
FuncASRIE transform a function of 'func(string) (int, error)' signature into CallableFunc type.
func FuncASRS ¶
func FuncASRS(fn func(string) string) tender.CallableFunc
FuncASRS transform a function of 'func(string) string' signature into CallableFunc type. User function will return 'true' if underlying native function returns nil.
func FuncASRSE ¶
func FuncASRSE(fn func(string) (string, error)) tender.CallableFunc
FuncASRSE transform a function of 'func(string) (string, error)' signature into CallableFunc type. User function will return 'true' if underlying native function returns nil.
func FuncASRSs ¶
func FuncASRSs(fn func(string) []string) tender.CallableFunc
FuncASRSs transform a function of 'func(string) []string' signature into CallableFunc type.
func FuncASRYE ¶
func FuncASRYE(fn func(string) ([]byte, error)) tender.CallableFunc
FuncASRYE transform a function of 'func(string) ([]byte, error)' signature into CallableFunc type.
func FuncASSIRSs ¶
FuncASSIRSs transform a function of 'func(string, string, int) []string' signature into CallableFunc type.
func FuncASSRB ¶
func FuncASSRB(fn func(string, string) bool) tender.CallableFunc
FuncASSRB transform a function of 'func(string, string) bool' signature into CallableFunc type.
func FuncASSRE ¶
func FuncASSRE(fn func(string, string) error) tender.CallableFunc
FuncASSRE transform a function of 'func(string, string) error' signature into CallableFunc type. User function will return 'true' if underlying native function returns nil.
func FuncASSRI ¶
func FuncASSRI(fn func(string, string) int) tender.CallableFunc
FuncASSRI transform a function of 'func(string, string) int' signature into CallableFunc type.
func FuncASSRS ¶
func FuncASSRS(fn func(string, string) string) tender.CallableFunc
FuncASSRS transform a function of 'func(string, string) string' signature into CallableFunc type.
func FuncASSRSs ¶
func FuncASSRSs(fn func(string, string) []string) tender.CallableFunc
FuncASSRSs transform a function of 'func(string, string) []string' signature into CallableFunc type.
func FuncASsSRS ¶
func FuncASsSRS(fn func([]string, string) string) tender.CallableFunc
FuncASsSRS transform a function of 'func([]string, string) string' signature into CallableFunc type.
func FuncAYI64RIE ¶
func FuncAYRIE ¶
func FuncAYRIE(fn func([]byte) (int, error)) tender.CallableFunc
FuncAYRIE transform a function of 'func([]byte) (int, error)' signature into CallableFunc type.
func FuncAYRS ¶
func FuncAYRS(fn func([]byte) string) tender.CallableFunc
FuncAYRS transform a function of 'func([]byte) string' signature into CallableFunc type.
func FuncAf64iiR ¶
func FuncAf64iiR(fn func(float64, int, int)) tender.CallableFunc
func FuncAuIR ¶
func FuncAuIR(fn func(uint)) tender.CallableFunc
FuncAIR transform a function of 'func(uint)' signature into CallableFunc type.
func GetModuleMap ¶
GetModuleMap returns the module map that includes all modules for the given module names.
Types ¶
type IOReader ¶
type IOReader struct { tender.ObjectImpl Value io.Reader }
Source Files ¶
- audio.go
- base64.go
- bufio.go
- builtin_modules.go
- canvas.go
- colors.go
- crypto.go
- crypto_aes.go
- csv.go
- dll.go
- errors.go
- event.go
- fmt.go
- func_typedefs.go
- gob.go
- gzip.go
- hex.go
- http.go
- image.go
- io.go
- json.go
- math.go
- net.go
- os.go
- os_exec.go
- os_file.go
- os_process.go
- path.go
- rand.go
- stdlib.go
- strings.go
- strings_regexp.go
- tar.go
- times.go
- websocket.go
- zip.go