file

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Enable

func Enable(runtime *goja.Runtime) error

func NewJsFile

func NewJsFile(runtime *goja.Runtime) (goja.Value, error)

Types

type File

type File struct {
	io.Reader `json:""`
	io.Closer `json:""`
	Name      string `json:"name"`
	Size      int64  `json:"size"`
}

Jump to

Keyboard shortcuts

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