utils

package
v0.0.0-...-49de588 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExists

func FileExists(fileName string) bool

func IsNilly

func IsNilly(val goja.Value) bool

func ParseOptions

func ParseOptions(vu modules.VU, val goja.Value) map[string]goja.Value

func RandHexStringRunes

func RandHexStringRunes(n int) string

func RemoveFile

func RemoveFile(fileName string) error

func RunCommand

func RunCommand(command string, args ...string) (string, error)

func SaveFile

func SaveFile(fileName string, contents []byte) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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